[vtkusers] Unresolved External Symbols

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Feb 14 09:05:51 EST 2005


Bill,

	You should only be changing: VTK_USE_ANSI_STDLIB within the Cmake 
interface. If you do so cmake will force you to do a complete rebuild 
and you won't have this problem of undefined symboles anymore.

HTH
Mathieu

Bill Vogler wrote:
> I am having problems during the link phase of my application on MSV C++
> V6.0. I am getting the LNK2001 link error "Unresolved external symbol" and
> it is associated with the following three member functions:
> 
>     vtkObject::PrintTrailer
>     vtkObject::PrintHeader
>     vtkInteractorStyleTrackball::PrintSelf
> 
> This problem appeared after I defined VTK_USE_ANSI_STDLIB so I could build
> my app using STL (i.e., std::ostream). Interestingly enough  these member
> functions in question are associated with the output stream ostream.
> 
> Is anyone out there in vtk-land know what is happening in this situation?
> I've seen similar posts on this subject to this group, but I could not find
> any responses to those threads.
> 
> TIA
> 
> Bill Vogler
> Calabazas Creek Research
> (530) 642-1955 Voice
> (530) 642-9614 Fax
> vogler at calcreek.com
> 
> _______________________________________________
> 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
> 




More information about the vtkusers mailing list