Trouble building ITK python wrapping

ebrahim
Tue, 01 Feb 2022 11:43:20 +0000
Development

I want to include ITK python wrapping in my Slicer build, but building fails when I turn on Slicer_BUILD_ITKPython, with the following error in the make output

...
-- ITKPyUtils: Creating itkPyCommand submodule.
-- ITKPyUtils: Creating itkPyImageFilter submodule.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
_vtk_lib_include_dirs
   used as include directory in directory /home/ebrahim/Slicer-SuperBuild-Debug/ITK/Modules/Bridge/VtkGlue/wrapping
   used as include directory in directory /home/ebrahim/Slicer-SuperBuild-Debug/ITK/Modules/Bridge/VtkGlue/wrapping
  ... <more of the same message>
   used as include directory in directory /home/ebrahim/Slicer-SuperBuild-Debug/ITK/Modules/Bridge/VtkGlue/wrapping
-- Configuring incomplete, errors occurred!

I see the variable _vtk_lib_include_dirs getting assigned here in ITK, but I don’t really know what’s going on. Not sure if this is a Slicer issue or an ITK issue. Any ideas?

10 posts - 5 participants