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

Bill Lorensen bill.lorensen at gmail.com
Tue Feb 19 12:48:00 EST 2013


this is very strange. We do not see this problem.

On Tue, Feb 19, 2013 at 12:31 PM, Shireen Elhabian
<shireen.youssef at gmail.com> wrote:
> When I ccmake ITK, I tried two options:
>
> VTK_DIR as my build directory and VTK_DIR as the install directory but both
> give me incomplete itk build ...
>
>
>
> On 02/19/2013 10:24 AM, Bill Lorensen wrote:
>>
>> Seems like it may not be finding your vtk properly. What is VTK_DIR
>> set to in your CMakeCache.txt file?
>>
>> On Tue, Feb 19, 2013 at 10:29 AM, Shireen Elhabian
>> <shireen.youssef at gmail.com> wrote:
>>>
>>> by the way I built and installed vtk (latest version) not just building
>>> ...
>>>
>>>
>>> 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
>>>>
>>>>
>>>>
>>
>>
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-users mailing list