[vtkusers] (no subject)

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Aug 21 19:59:04 EDT 2006


zwei at imaging.robarts.ca wrote:
> Hello,
> 
> I have two problems when I ran MyProgram with vtk 5.0 under vc 6.0:
> 
> 1. error LNK2005: "public: class ostream & __thiscall
> ostream::operator<<(class ostream & (__cdecl*)(class ostream &))"
> (??6ostream@@QAEAAV0 at P6AAAV0@AAV0@@Z at Z) already defined in MyProgram.obj
> 
> 2. error LNK2001: unresolved external symbol
> "class ostream_withassign  cerr" (?cerr@@3Vostream_withassign@@A)
> 
> May I know your opinion to fix these problems? Thanks!


Zhouping,

	Are you using CMake to build your project ? Did you build VTK yourself 
on your computer ? What version of CMake are you using ?

Thanks
Mathieu



More information about the vtkusers mailing list