<div dir="ltr"><div>Hi all,<br><br></div>When I compile ITK master with VTK_GLUE turned ON, I get the following error:<br><div><br><div>Linking CXX executable ../../../bin/ITKVtkGlueHeaderTest1<br>CMakeFiles/ITKVtkGlueHeaderTest1.dir/test/ITKVtkGlueHeaderTest1.cxx.o: In function `vtkIOImage_AutoInit::~vtkIOImage_AutoInit()':<br>
ITKVtkGlueHeaderTest1.cxx:(.text._ZN19vtkIOImage_AutoInitD2Ev[_ZN19vtkIOImage_AutoInitD5Ev]+0x1): undefined reference to `vtkIOMPIImage_AutoInit_Destruct()'<br>CMakeFiles/ITKVtkGlueHeaderTest1.dir/test/ITKVtkGlueHeaderTest1.cxx.o: In function `_GLOBAL__sub_I_main':<br>
ITKVtkGlueHeaderTest1.cxx:(.text.startup+0x38): undefined reference to `vtkDebugLeaksManager::vtkDebugLeaksManager()'<br>ITKVtkGlueHeaderTest1.cxx:(.text.startup+0x47): undefined reference to `vtkDebugLeaksManager::~vtkDebugLeaksManager()'<br>
ITKVtkGlueHeaderTest1.cxx:(.text.startup+0x51): undefined reference to `vtkIOMPIImage_AutoInit_Construct()'<br>collect2: ld returned 1 exit status<br>make[2]: *** [bin/ITKVtkGlueHeaderTest1] Error 1<br>make[1]: *** [Modules/Bridge/VtkGlue/CMakeFiles/ITKVtkGlueHeaderTest1.dir/all] Error 2<br>
make[1]: *** Waiting for unfinished jobs....<br><br><br></div><div>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:<br>
<a href="http://itk-users.7.n7.nabble.com/Problem-with-Building-ITK-with-Module-ItkVtkGlue-ON-td30777.html">http://itk-users.7.n7.nabble.com/Problem-with-Building-ITK-with-Module-ItkVtkGlue-ON-td30777.html</a><br><br><br>
</div><div>Kishore <br></div></div></div>