[Insight-users] Link error during building VTKEdge with ITK4
Arunachalam Kana
Kana.Arunachalam at fh-wels.at
Thu Jul 14 11:15:12 EDT 2011
Hi ITK User,
I am building VTKEdge revision:3556 with ITK4 and VTK5.6.1 and Qt 4.7.3. I generate the VTKEdge solution file with CMake 2.8.5 for
Visual studio 2008. When i try to build the dlls , i get the following errors for vtkKWEWidgets project:
2>Linking...
2> Creating library C:\LIBS\VTK-EDGE\vtkedge-bin\bin\Debug\vtkKWEWidgets.lib and object C:\LIBS\VTK-EDGE\vtkedge-bin\bin\Debug\vtkKWEWidgets.exp
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (?MRCImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (?GiplImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (?MetaImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (?VTKImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (?PNGImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (?LSMImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (?BMPImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2001: unresolved external symbol "void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ)
2>vtkKWEITKPaintbrushOperation.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::OutputWindowDisplayDebugText(char const *)" (__imp_?OutputWindowDisplayDebugText at itk@@YAXPEBD at Z)
2>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::OutputWindowDisplayDebugText(char const *)" (__imp_?OutputWindowDisplayDebugText at itk@@YAXPEBD at Z)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::OutputWindowDisplayDebugText(char const *)" (__imp_?OutputWindowDisplayDebugText at itk@@YAXPEBD at Z) referenced in function "public: virtual void __cdecl vtkitk::vtkKWEITKImageToStencilFilter::SetBoundWithRadius(bool)" (?SetBoundWithRadius at vtkKWEITKImageToStencilFilter@vtkitk@@UEAAX_N at Z)
2>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::OutputWindowDisplayDebugText(char const *)" (__imp_?OutputWindowDisplayDebugText at itk@@YAXPEBD at Z)
2>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::OutputWindowDisplayDebugText(char const *)" (__imp_?OutputWindowDisplayDebugText at itk@@YAXPEBD at Z)
2>vtkKWEITKImageToStencilFilter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::OutputWindowDisplayDebugText(char const *)" (__imp_?OutputWindowDisplayDebugText at itk@@YAXPEBD at Z)
2>vtkKWEITKPaintbrushOperation.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl itk::Object::GetGlobalWarningDisplay(void)" (__imp_?GetGlobalWarningDisplay at Object@itk@@SA_NXZ)
2>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl itk::Object::GetGlobalWarningDisplay(void)" (__imp_?GetGlobalWarningDisplay at Object@itk@@SA_NXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl itk::Object::GetGlobalWarningDisplay(void)" (__imp_?GetGlobalWarningDisplay at Object@itk@@SA_NXZ) referenced in function "public: virtual void __cdecl vtkitk::vtkKWEITKImageToStencilFilter::SetBoundWithRadius(bool)" (?SetBoundWithRadius at vtkKWEITKImageToStencilFilter@vtkitk@@UEAAX_N at Z)
2>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl itk::Object::GetGlobalWarningDisplay(void)" (__imp_?GetGlobalWarningDisplay at Object@itk@@SA_NXZ)
2>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl itk::Object::GetGlobalWarningDisplay(void)" (__imp_?GetGlobalWarningDisplay at Object@itk@@SA_NXZ)
2>vtkKWEITKImageToStencilFilter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl itk::Object::GetGlobalWarningDisplay(void)" (__imp_?GetGlobalWarningDisplay at Object@itk@@SA_NXZ)
2>vtkKWEITKPaintbrushOperation.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl itk::Object::GetDebug(void)const " (__imp_?GetDebug at Object@itk@@QEBA_NXZ)
2>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl itk::Object::GetDebug(void)const " (__imp_?GetDebug at Object@itk@@QEBA_NXZ)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __cdecl itk::Object::GetDebug(void)const " (__imp_?GetDebug at Object@itk@@QEBA_NXZ) referenced in function "public: virtual void __cdecl vtkitk::vtkKWEITKImageToStencilFilter::SetBoundWithRadius(bool)" (?SetBoundWithRadius at vtkKWEITKImageToStencilFilter@vtkitk@@UEAAX_N at Z)
2>vtkKWEITKConfidenceConnectedPaintbrushOperation.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl itk::Object::GetDebug(void)const " (__imp_?GetDebug at Object@itk@@QEBA_NXZ)
2>vtkKWEITKImage.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl itk::Object::GetDebug(void)const " (__imp_?GetDebug at Object@itk@@QEBA_NXZ)
2>vtkKWEITKImageToStencilFilter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl itk::Object::GetDebug(void)const " (__imp_?GetDebug at Object@itk@@QEBA_NXZ)
2>vtkKWEITKPaintbrushExtractConnectedComponents.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl itk::LightObject::operator delete(void *)" (__imp_??3LightObject at itk@@SAXPEAX at Z)
2>vtkKWEITKConnectedThresholdPaintbrushOperation.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl itk::LightObject::operator delete(void *)" (__imp_??3LightObject at itk@@SAXPEAX at Z) referenced in function "int `public: static class itk::SmartPointer<class vtkitk::vtkKWEITKConnectedThresholdImageFilter<double> > __cdecl vtkitk::vtkKWEITKConnectedThresholdImageFilter<double>::New(void)'::`1'::dtor$1" (?dtor$1@?0??New@?$vtkKWEITKConnectedThresholdImageFilter at N@vtkitk@@SA?AV?$SmartPointer at V?$vtkKWEITKConnectedThresholdImageFilter at N@vtkitk@@@itk@@XZ at 4HA)
I get more linking error but i have just pasted a quarter of it. I am not sure too whether i have to raise the issue in ITK mailing list or VTKEdge mailing list, but from my understanding the problem comes ITK, so posted here.
Thank you in advance.
Regards,
Kana Arunachalam Kannappan
Research Associate
FH OÖ Forschungs & Entwicklungs GmbH
Stelzhamer Strasse 23,
4600 Wels,
Austria.
Phone: +43 (0)7242 72811 -4420
kana.arunachalam at fh-wels.at
www.fh-ooe.at; www.3dct.at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110714/f52a24d2/attachment.htm>
More information about the Insight-users
mailing list