[Insight-users] Problem with Building ITK with Module_ItkVtkGlue = ON

Shireen Elhabian shireen.youssef at gmail.com
Tue Feb 19 10:26:25 EST 2013


I built VTK using git so I think it is the latest version (I built it 
just month ago) --- I hope there is a solution for this matter

thanks
Shery

On 02/19/2013 08:20 AM, Bill Lorensen wrote:
> what version of vtk?
> Did you build vtk or install it?
>
> On Tue, Feb 19, 2013 at 9:21 AM, Shery <shireen.youssef at gmail.com> wrote:
>> Now I have this error: please help me
>>
>> 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: error: ld returned 1 exit status
>> make[2]: *** [bin/ITKVtkGlueHeaderTest1] Error 1
>> make[1]: ***
>> [Modules/Bridge/VtkGlue/CMakeFiles/ITKVtkGlueHeaderTest1.dir/all] Error 2
>> make: *** [all] Error 2
>>
>>
>>
>>
>> --
>> View this message in context: http://itk-users.7.n7.nabble.com/Problem-with-Building-ITK-with-Module-ItkVtkGlue-ON-tp30777p30782.html
>> Sent from the ITK - Users mailing list archive at Nabble.com.
>> _____________________________________
>> 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://www.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-users
>
>



More information about the Insight-users mailing list