ITK: ITK Build Problem
Description
I receive the following error when building ITK from the latest sources:
/usr/bin/ld: CMakeFiles/ITKVtkGlueTestDriver.dir/runViewImage.cxx.o: in function _GLOBAL__sub_I__Z12runViewImageiPPc': runViewImage.cxx:(.text.startup+0x77): undefined reference to vtkFiltersParallel_AutoInit_Construct()’
Do you have any idea where I could start looking to fix this problem?
Steps to Reproduce
Expected behavior
Actual behavior
Reproducibility
Versions
Environment
Additional Information
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (12 by maintainers)
Commits related to this issue
- COMP: Migrate ITKVtkGlue library configuration to itk-module-init.cmake This enables specifying only the required modules in test/CMakeLists.txt. To address #2333 — committed to thewtex/ITK by thewtex 3 years ago
- COMP: Migrate ITKVtkGlue library configuration to itk-module-init.cmake This enables specifying only the required modules in test/CMakeLists.txt. To address #2333 — committed to thewtex/ITK by thewtex 3 years ago
It seems that the errors related to VTK are gone. I do get this error now. If you feel that it is unrelated I can close this one and open another after some investigation:
make[2]: *** [Wrapping/Modules/ITKReview/CMakeFiles/ITKReviewPython.dir/build.make:5231: Wrapping/Modules/ITKReview/itkFastSymmetricForcesDemonsRegistrationFilterPython.cpp] Error 112 make[1]: *** [CMakeFiles/Makefile2:116088: Wrapping/Modules/ITKReview/CMakeFiles/ITKReviewPython.dir/all] Error 2 make: *** [Makefile:182: all] Error 2 [melrobin@scorpion build]$
I think that this seems better. There is still a complaint with the module: In file included from /home/melrobin/packages/ITK/build/Wrapping/itkImageToVTKImageFilter.cxx:16: /home/melrobin/packages/ITK/Modules/Bridge/VtkGlue/include/itkImageToVTKImageFilter.h:22:10: fatal error: ‘vtkImageImport.h’ file not found #include “vtkImageImport.h”