[vmtk-users] Compilation Problem: Unresolved external symbol
Brought to you by:
davidsteinman,
lucantiga
From: Mike h. <ash...@ya...> - 2006-12-25 08:41:36
|
Hi, I've been trying to install vmtk for the past few days, but I keep on running into the same problem. I have ITK and VTK running without other problems. When I compile vmtk,I keep on getting a linker error: "error LNK2001: unresolved external symbol "protected: virtual void __thiscall vtkvmtkMath::CollectRevisions(class std::basic_ostream<char,struct std::char_traits<char> > &)" (?CollectRevisions@vtkvmtkMath@@MAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z) vtkvmtkMath.obj " This is in building vtkvmtkCommon.dll and vtkvmtkCommonPython.dll only. All the remaining dll's are compiled and linked fine. Also all the .lib are created fine (including vtkvmtkCommon.lib). I am using Windows32 XP VTK 5.0.2 VMTK 0.6b1 Visual studio C++ 2005 Python 2.5 I rebuilt VTK with shared libs and python wrapping to make it work with vmtk. Python wrapping for VTK works. However, when I try to compile vmtk (with or without python wrapping and shared libs), I get the linker error above. Is there something I am doing wrong? It seems to me that there is a name mangling problem that is only in vtkvmtkMath. Any pointers or suggestions will be much appreciated. --Ashraf __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |