plooney / kretz

Apache License 2.0
11 stars 5 forks source link

No such module: "IOKretz" #19

Open leopold-franz opened 2 years ago

leopold-franz commented 2 years ago

When trying to build Kretz with CMake 3.22.2 and ITK 5.2.1 I get the following error message:

(base) lfranz@bs-mbpr505 kretz-module-build % cmake -DITK_DIR=../ITK/ITKbin ../kretz
-- The C compiler identification is AppleClang 12.0.0.12000032
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: /Users/lfranz/opt/anaconda3/bin/python3.8 (found version "3.8.8") found components: Interpreter
-- Setting build type to 'Release' as none was specified.
-- Found Git: /usr/bin/git (found version "2.24.3 (Apple Git-128)")
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Error at /Users/lfranz/code/ivf/ge_dicom_format/ITK/InsightToolkit/CMake/ITKModuleAPI.cmake:78 (message):
  No such module: "IOKretz"
Call Stack (most recent call first):
  /Users/lfranz/code/ivf/ge_dicom_format/ITK/InsightToolkit/CMake/ITKModuleAPI.cmake:7 (itk_module_load)
  /Users/lfranz/code/ivf/ge_dicom_format/ITK/InsightToolkit/CMake/ITKModuleAPI.cmake:153 (_itk_module_use_recurse)
  /Users/lfranz/code/ivf/ge_dicom_format/ITK/InsightToolkit/CMake/ITKModuleMacros.cmake:329 (itk_module_use)
  test/CMakeLists.txt:1 (itk_module_test)

-- Configuring incomplete, errors occurred!
See also "/Users/lfranz/code/ivf/ge_dicom_format/kretz-module-build/CMakeFiles/CMakeOutput.log".