[vtkusers] vtkPNGReader::New() an Undefined Symbol

Ravi Samala raviksamala at yahoo.com
Mon Oct 24 03:32:13 EDT 2005


hi Marc,

this could either mean,

(a) #include <vtkPNGReader.h> is not there in the
program
(b) did not include the path for vtkIO in the   
cMakeLists.txt file

if nothing else works, brute force method will be to
copy the vtkPNGReader.h and vtkPNGReader.cxx files
from vtl\IO\ to your current working directory.


regards,

Ravi.



--- Marc Macenko <macenko at gmail.com> wrote:

> I am simply trying to read in an image to eventually
> use as a texture.
> I am including the header file and have this
> statement:
> 
>   vtkPNGReader *water = vtkPNGReader::New();
> 
> 
> This results in this error from my compiler:
> 
> Undefined                       first referenced
>  symbol                             in file
> vtkPNGReader::New()                 terrain.o
> 
> 
> Any suggestions would be great!
> 
> --
> marc
> 
> John 1:1 In the beginning was the Word, and the Word
> was with God, and
> the Word was God. 2 He was in the beginning with
> God. 3 All things
> were made through Him, and without Him nothing was
> made that was made.
> 4 In Him was life, and the life was the light of
> men.
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the vtkusers mailing list