[vtkusers] Trying to compile cone2.cxx

Yan Pingkun engp1734 at nus.edu.sg
Wed Feb 11 21:34:02 EST 2004


You need to link vtk*.lib in your project.
 
	-----Original Message-----
	From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] On
Behalf Of Paulo Trigueiros
	Sent: Thursday, February 12, 2004 12:57 AM
	To: vtkusers at vtk.org
	Subject: [vtkusers] Trying to compile cone2.cxx
	
	
	I'm trying to compile the 2nd example from the book and I get
the following errors:
	 
	1.VTK Teste error LNK2001: unresolved external symbol
"protected: virtual void __thiscall
vtkObjectBase::CollectRevisions(class std::basic_ostream<char,struct
std::char_traits<char> > &)"
(?CollectRevisions at vtkObjectBase@@MAEXAAV?$basic_ostream at DU?$char_traits
@D at std@@@std@@@Z)
	2. VTK Teste error LNK2001: unresolved external symbol "public:
virtual void __thiscall vtkObjectBase::PrintTrailer(class
std::basic_ostream<char,struct std::char_traits<char> > &,class
vtkIndent)"
(?PrintTrailer at vtkObjectBase@@UAEXAAV?$basic_ostream at DU?$char_traits at D@s
td@@@std@@VvtkIndent@@@Z)
	3. VTK Teste error LNK2001: unresolved external symbol "public:
virtual void __thiscall vtkObjectBase::PrintHeader(class
std::basic_ostream<char,struct std::char_traits<char> > &,class
vtkIndent)"
(?PrintHeader at vtkObjectBase@@UAEXAAV?$basic_ostream at DU?$char_traits at D@st
d@@@std@@VvtkIndent@@@Z)
	4. VTK Teste error LNK2001: unresolved external symbol "public:
virtual void __thiscall vtkObjectBase::PrintSelf(class
std::basic_ostream<char,struct std::char_traits<char> > &,class
vtkIndent)"
(?PrintSelf at vtkObjectBase@@UAEXAAV?$basic_ostream at DU?$char_traits at D@std@
@@std@@VvtkIndent@@@Z)
	 
	What do I have to do?
	I hope anyone can help me.
	 
	Paulo Trigueiros
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040212/1337b1e2/attachment.htm>


More information about the vtkusers mailing list