[vtkusers] Help with vtkJPEGWriter and PostScriptWriter
    Dlwh at aol.com 
    Dlwh at aol.com
       
    Wed Jul 31 13:53:10 EDT 2002
    
    
  
I'm having trouble with the vtk Image Writers...
Here's the code i'm attempting now...
  vtkJPEGWriter * Writer; 
      // = vtkJPEGWriter::New() doesn't work
      // Says it's undefined
    Writer->SetFileName(output_filename);
    Writer->SetInput(vtkImageData::SafeDownCast(data) );
    Writer->Write();
Here is the error i get:
scatter_main.o(.text+0xdde): undefined reference to vtkImageWriter::SetFileName(char const*)'  
I am including the ImageWriter headers (among others) yet it says that it's undefined, am i missing something?
Thanks,
David Hall
dlwh at aol.com
    
    
More information about the vtkusers
mailing list