Hi Kishore, Is VTK_DEBUG_LEAKS ON?
Thanks, Matt On Thu, Aug 22, 2013 at 7:03 PM, Kishore Mosaliganti <[email protected]> wrote: > Hi all, > > When I compile ITK master with VTK_GLUE turned ON, I get the following > error: > > Linking CXX executable ../../../bin/ITKVtkGlueHeaderTest1 > CMakeFiles/ITKVtkGlueHeaderTest1.dir/test/ITKVtkGlueHeaderTest1.cxx.o: In > function `vtkIOImage_AutoInit::~vtkIOImage_AutoInit()': > ITKVtkGlueHeaderTest1.cxx:(.text._ZN19vtkIOImage_AutoInitD2Ev[_ZN19vtkIOImage_AutoInitD5Ev]+0x1): > undefined reference to `vtkIOMPIImage_AutoInit_Destruct()' > CMakeFiles/ITKVtkGlueHeaderTest1.dir/test/ITKVtkGlueHeaderTest1.cxx.o: In > function `_GLOBAL__sub_I_main': > ITKVtkGlueHeaderTest1.cxx:(.text.startup+0x38): undefined reference to > `vtkDebugLeaksManager::vtkDebugLeaksManager()' > ITKVtkGlueHeaderTest1.cxx:(.text.startup+0x47): undefined reference to > `vtkDebugLeaksManager::~vtkDebugLeaksManager()' > ITKVtkGlueHeaderTest1.cxx:(.text.startup+0x51): undefined reference to > `vtkIOMPIImage_AutoInit_Construct()' > collect2: ld returned 1 exit status > make[2]: *** [bin/ITKVtkGlueHeaderTest1] Error 1 > make[1]: *** > [Modules/Bridge/VtkGlue/CMakeFiles/ITKVtkGlueHeaderTest1.dir/all] Error 2 > make[1]: *** Waiting for unfinished jobs.... > > > I am using Ubuntu 64-bit, gcc 4.6.3, cmake 2.8.7, with VTK compiled and > pointed to correctly. The VTK directory is also correctly set in the > CMakeCache file. This error was previously reported by someone else here: > http://itk-users.7.n7.nabble.com/Problem-with-Building-ITK-with-Module-ItkVtkGlue-ON-td30777.html > > > Kishore > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.itk.org/mailman/listinfo/insight-developers > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://www.itk.org/mailman/listinfo/insight-developers
