Hi everyone
I like to compile Plastimatch with ITK/VTK.
During the configuration, I got following error:
Plastimatch version is 1.9.4-49-g581c7692
CMake Error at //lib/cmake/ITK-5.3/Modules/ITKVtkGlue.cmake:16 (find_package):
Could not find a package configuration file provided by "VTK" with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files. If "VTK" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
//lib/cmake/ITK-5.3/ITKModuleAPI.cmake:76 (include)
//lib/cmake/ITK-5.3/ITKModuleAPI.cmake:31 (itk_module_load)
//lib/cmake/ITK-5.3/ITKModuleAPI.cmake:129 (_itk_module_config_recurse)
/lib/cmake/ITK-5.3/ITKConfig.cmake:88 (itk_module_config)
CMakeLists.txt:585 (find_package)
Configuring incomplete, errors occurred!
My setup:
OS: RHEL 8.8
CMAKE: 3.20.2
VTK: 9.0.1 (vtk-devel, from repo epel)
ITK: 5.3.0 (source: GitHub - InsightSoftwareConsortium/ITK: Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.)
ccmake3 ../itk -DCMAKE_INSTALL_PREFIX=/ITK/itk-distrib -DBUILD_SHARED_LIBS=ON -DModule_ITKVtkGlue=ON -DModule_ITKReview=ON -DModule_SimpleITKFilters=ON -DCMAKE_BUILD_TYPE:STRING=Release
Cuda: 11.8.0
gdcm: compiled from source
dcmtk: compiled from source
I understand that this is the ITK-Forum. But since I got the issue from ITKVtkGlue, I tried first here.
What should I consider if I try to deploy ITK (VTK) for Plastimatch?
Thanks a lot.
BR,
Martin