[Insight-users] problem compiling ITK + VTK
Felix Schwenk
felix.schwenk@nme.at
Wed, 26 Feb 2003 22:18:17 +0100
i'm pretty new to itk. i checkt out some resources on how to build itk +
vtk,
but i've got some problem.
i build vtk with VTK_USE_ANSI_STDLIB = ON and VTK_USE_HYBRID = ON
VTK version from cvs
configuring itk with CMake without problem.
using downloadable version of itk
using VisualStudio 7
when i build itk i always get the following error in the vtk2itk
project.
can anybody help me?
vtk2itk.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall vtkObject::Print(class
std::basic_ostream > &)"
(__imp_?Print@vtkObject@@QAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@
std@@@Z) referenced in function _main
D:\uni\diplomarbeit\ITKbin\bin\Debug\vtk2itk.exe : fatal error LNK1120:
1 unresolved externals
best regards,
Felix Schwenk