$ cmake -DCMAKE_BUILD_TYPE=RelWithDebugInfo ..
-- The C compiler identification is GNU 14.1.1
-- The CXX compiler identification is GNU 14.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /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: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.45.2")
-- Repository status (otb.git) :
-- Repository revision is a5bdef2a3797dbd8bb4f7dc8c9aeb3738080837f
-- Local file modifications (otb.git) :
-- ?? build/
-- ?? otb.md
-- ?? superbuild_install/
-- branch_name: develop
-- Performing Test C_HAS_WARNING-Wno-uninitialized
-- Performing Test C_HAS_WARNING-Wno-uninitialized - Success
-- Performing Test C_HAS_WARNING-Wno-unused-parameter
-- Performing Test C_HAS_WARNING-Wno-unused-parameter - Success
-- Performing Test C_HAS_WARNING-Wall
-- Performing Test C_HAS_WARNING-Wall - Success
-- Performing Test C_HAS_WARNING-Wno-long-double
-- Performing Test C_HAS_WARNING-Wno-long-double - Failed
-- Performing Test C_HAS_WARNING-Wcast-align
-- Performing Test C_HAS_WARNING-Wcast-align - Success
-- Performing Test C_HAS_WARNING-Wdisabled-optimization
-- Performing Test C_HAS_WARNING-Wdisabled-optimization - Success
-- Performing Test C_HAS_WARNING-Wextra
-- Performing Test C_HAS_WARNING-Wextra - Success
-- Performing Test C_HAS_WARNING-Wformat=2
-- Performing Test C_HAS_WARNING-Wformat=2 - Success
-- Performing Test C_HAS_WARNING-Winvalid-pch
-- Performing Test C_HAS_WARNING-Winvalid-pch - Success
-- Performing Test C_HAS_WARNING-Wno-format-nonliteral
-- Performing Test C_HAS_WARNING-Wno-format-nonliteral - Success
-- Performing Test C_HAS_WARNING-Wpointer-arith
-- Performing Test C_HAS_WARNING-Wpointer-arith - Success
-- Performing Test C_HAS_WARNING-Wunused
-- Performing Test C_HAS_WARNING-Wunused - Success
-- Performing Test C_HAS_WARNING-Wwrite-strings
-- Performing Test C_HAS_WARNING-Wwrite-strings - Success
-- Performing Test C_HAS_WARNING-funit-at-a-time
-- Performing Test C_HAS_WARNING-funit-at-a-time - Success
-- Performing Test C_HAS_WARNING-Wno-strict-overflow
-- Performing Test C_HAS_WARNING-Wno-strict-overflow - Success
-- Performing Test CXX_HAS_WARNING-Wall
-- Performing Test CXX_HAS_WARNING-Wall - Success
-- Performing Test CXX_HAS_WARNING-Wno-long-double
-- Performing Test CXX_HAS_WARNING-Wno-long-double - Failed
-- Performing Test CXX_HAS_WARNING-Wcast-align
-- Performing Test CXX_HAS_WARNING-Wcast-align - Success
-- Performing Test CXX_HAS_WARNING-Wdisabled-optimization
-- Performing Test CXX_HAS_WARNING-Wdisabled-optimization - Success
-- Performing Test CXX_HAS_WARNING-Wextra
-- Performing Test CXX_HAS_WARNING-Wextra - Success
-- Performing Test CXX_HAS_WARNING-Wformat=2
-- Performing Test CXX_HAS_WARNING-Wformat=2 - Success
-- Performing Test CXX_HAS_WARNING-Winvalid-pch
-- Performing Test CXX_HAS_WARNING-Winvalid-pch - Success
-- Performing Test CXX_HAS_WARNING-Wno-format-nonliteral
-- Performing Test CXX_HAS_WARNING-Wno-format-nonliteral - Success
-- Performing Test CXX_HAS_WARNING-Wpointer-arith
-- Performing Test CXX_HAS_WARNING-Wpointer-arith - Success
-- Performing Test CXX_HAS_WARNING-Wunused
-- Performing Test CXX_HAS_WARNING-Wunused - Success
-- Performing Test CXX_HAS_WARNING-Wwrite-strings
-- Performing Test CXX_HAS_WARNING-Wwrite-strings - Success
-- Performing Test CXX_HAS_WARNING-funit-at-a-time
-- Performing Test CXX_HAS_WARNING-funit-at-a-time - Success
-- Performing Test CXX_HAS_WARNING-Wno-strict-overflow
-- Performing Test CXX_HAS_WARNING-Wno-strict-overflow - Success
-- Performing Test CXX_HAS_WARNING-Wno-deprecated
-- Performing Test CXX_HAS_WARNING-Wno-deprecated - Success
-- Performing Test CXX_HAS_WARNING-Wno-invalid-offsetof
-- Performing Test CXX_HAS_WARNING-Wno-invalid-offsetof - Success
-- Performing Test CXX_HAS_WARNING-Woverloaded-virtual
-- Performing Test CXX_HAS_WARNING-Woverloaded-virtual - Success
-- Performing Test CXX_HAS_WARNING-Wstrict-null-sentinel
-- Performing Test CXX_HAS_WARNING-Wstrict-null-sentinel - Success
-- SIMD extensions requested with OTB_USE_SSE_FLAGS=ON
-- Performing Test HAVE_SSE2_EXTENSIONS
-- Performing Test HAVE_SSE2_EXTENSIONS - Success
-- Adding '-msse2 -mfpmath=sse' to OTB_REQUIRED_CXX_FLAGS
-- Performing Test CXX_HAS_DISABLE_OPTIMIZATION_FLAG
-- Performing Test CXX_HAS_DISABLE_OPTIMIZATION_FLAG - Success
-- Disabled OTBGSL because OTB_USE_GSL is OFF
-- Disabled OTBLibSVM because OTB_USE_LIBSVM is OFF
-- Disabled OTBMuParser because OTB_USE_MUPARSER is OFF
-- Disabled OTBMuParserX because OTB_USE_MUPARSERX is OFF
-- Disabled OTBOpenCV because OTB_USE_OPENCV is OFF
-- Disabled OTBShark because OTB_USE_SHARK is OFF
-- Disabled OTBlibkml because OTB_USE_LIBKML is OFF
-- Disabled OTBIOKML because OTB_USE_LIBKML is OFF
-- Disabled OTBKMZWriter because OTB_USE_LIBKML is OFF
-- Enabled OTB6S, needed by [OTBOpticalCalibration;OTBGroup_ThirdParty].
-- Enabled OTBAppCore, needed by [OTBGroup_Core].
-- Enabled OTBApplicationEngine, needed by [OTBAppCore;OTBGroup_Core;OTBCommandLine;OTBQGIS;OTBSWIGWrapper].
-- Enabled OTBBoost, needed by [OTBBoostAdapters;OTBCommon;OTBGdalAdapters;OTBTransform;OTBConversion;OTBGroup_ThirdParty].
-- Enabled OTBBoostAdapters, needed by [OTBApplicationEngine;OTBCommon;OTBMetadata;OTBGdalAdapters;OTBImageIO;OTBIOGDAL;OTBImageManipulation;OTBTransform;OTBProjection;OTBAppCore;OTBIOXML;OTBOpticalCalibration;OTBGroup_Core].
-- Enabled OTBCarto, needed by [OTBAppCore;OTBGroup_Core].
-- Enabled OTBColorMap, needed by [OTBGroup_Core;OTBComplexImage].
-- Enabled OTBCommandLine, needed by [OTBGroup_Core].
-- Enabled OTBCommon, needed by [OTBApplicationEngine;OTBImageBase;OTBMetadata;OTBGdalAdapters;OTBObjectList;OTBImageIO;OTBExtendedFilename;OTBIOGDAL;OTBVectorDataBase;OTBStreaming;OTBImageList;OTBImageManipulation;OTBInterpolation;OTBTransform;OTBProjection;OTBFunctor;OTBVectorDataManipulation;OTBPath;OTBVectorDataIO;OTBIOKML;OTBCarto;OTBCurlAdapters;OTBAppCore;OTBConversion;OTBLabelMap;OTBMoments;OTBOpticalCalibration;OTBConvolution;OTBStatistics;OTBMosaic;OTBColorMap;OTBGroup_Core;OTBComplexImage;OTBDEM;OTBDensity;OTBPointSet;OTBDescriptors;OTBEdge;OTBIndices;OTBFuzzy;OTBSmoothing;OTBTestKernel;OTBCommandLine].
-- Enabled OTBComplexImage, needed by [OTBGroup_Core].
-- Enabled OTBConversion, needed by [OTBAppCore;OTBMosaic;OTBGroup_Core;OTBEdge].
-- Enabled OTBConvolution, needed by [OTBPanSharpening;OTBGroup_Core].
-- Enabled OTBCurl, needed by [OTBCurlAdapters;OTBGroup_ThirdParty].
-- Enabled OTBCurlAdapters, needed by [OTBCarto;OTBAppCore;OTBGroup_Core].
-- Enabled OTBDEM, needed by [OTBGroup_Core].
-- Enabled OTBDate, needed by [OTBMetadata;OTBGroup_ThirdParty].
-- Enabled OTBDensity, needed by [OTBGroup_Core].
-- Enabled OTBDescriptors, needed by [OTBGroup_Core].
-- Enabled OTBEdge, needed by [OTBGroup_Core].
-- Enabled OTBExtendedFilename, needed by [OTBImageIO;OTBGroup_Core].
-- Enabled OTBFunctor, needed by [OTBProjection;OTBAppCore;OTBPanSharpening;OTBMosaic;OTBGroup_Core].
-- Enabled OTBFuzzy, needed by [OTBIndices;OTBGroup_Core].
-- Enabled OTBGDAL, needed by [OTBCommon;OTBGdalAdapters;OTBIOGDAL;OTBVectorDataBase;OTBTransform;OTBProjection;OTBIOKML;OTBConversion;OTBGroup_ThirdParty;OTBTestKernel].
-- Enabled OTBGdalAdapters, needed by [OTBMetadata;OTBIOGDAL;OTBTransform;OTBProjection;OTBConversion;OTBGroup_Core;OTBTestKernel].
-- Enabled OTBIOGDAL, needed by [OTBExtendedFilename;OTBImageIO;OTBImageManipulation;OTBTransform;OTBVectorDataIO;OTBConversion;OTBGroup_Core].
-- Enabled OTBIOXML, needed by [OTBAppCore;OTBGroup_Core].
-- Enabled OTBITK, needed by [OTBCommon;OTBApplicationEngine;OTBImageBase;OTBGdalAdapters;OTBMetadata;OTBObjectList;OTBIOGDAL;OTBVectorDataBase;OTBExtendedFilename;OTBImageIO;OTBStreaming;OTBImageList;OTBImageManipulation;OTBInterpolation;OTBTransform;OTBFunctor;OTBProjection;OTBVectorDataManipulation;OTBPath;OTBVectorDataIO;OTBIOKML;OTBCurlAdapters;OTBCarto;OTBConversion;OTBLabelMap;OTBMoments;OTBIOXML;OTBAppCore;OTBOpticalCalibration;OTBConvolution;OTBPanSharpening;OTBStatistics;OTBColorMap;OTBDEM;OTBDensity;OTBPointSet;OTBDescriptors;OTBEdge;OTBFuzzy;OTBIndices;OTBSmoothing;OTBGroup_ThirdParty;OTBMajorityVoting;OTBKMZWriter;OTBTestKernel;OTBCommandLine;OTBQGIS;OTBSWIGWrapper].
-- Enabled OTBImageBase, needed by [OTBApplicationEngine;OTBIOGDAL;OTBVectorDataBase;OTBImageIO;OTBStreaming;OTBImageManipulation;OTBInterpolation;OTBFunctor;OTBProjection;OTBVectorDataManipulation;OTBPath;OTBCarto;OTBConversion;OTBLabelMap;OTBAppCore;OTBOpticalCalibration;OTBPanSharpening;OTBStatistics;OTBDEM;OTBDescriptors;OTBEdge;OTBGroup_Core;OTBSmoothing;OTBKMZWriter;OTBTestKernel].
-- Enabled OTBImageIO, needed by [OTBApplicationEngine;OTBCarto;OTBGroup_Core;OTBKMZWriter;OTBTestKernel].
-- Enabled OTBImageList, needed by [OTBStreaming;OTBGroup_Core].
-- Enabled OTBImageManipulation, needed by [OTBApplicationEngine;OTBProjection;OTBVectorDataManipulation;OTBCarto;OTBAppCore;OTBOpticalCalibration;OTBPanSharpening;OTBDEM;OTBEdge;OTBGroup_Core;OTBIndices;OTBKMZWriter;OTBTestKernel].
-- Enabled OTBIndices, needed by [OTBGroup_Core].
-- Enabled OTBInterpolation, needed by [OTBImageManipulation;OTBTransform;OTBPointSet;OTBGroup_Core].
-- Enabled OTBLabelMap, needed by [OTBConversion;OTBGroup_Core].
-- Enabled OTBMajorityVoting, needed by [OTBGroup_Core].
-- Enabled OTBMetadata, needed by [OTBImageBase;OTBIOGDAL;OTBVectorDataBase;OTBImageIO;OTBImageList;OTBStreaming;OTBImageManipulation;OTBTransform;OTBApplicationEngine;OTBProjection;OTBVectorDataIO;OTBIOKML;OTBConversion;OTBOpticalCalibration;OTBIndices;OTBGroup_Core;OTBMajorityVoting;OTBKMZWriter;OTBTestKernel].
-- Enabled OTBMoments, needed by [OTBLabelMap;OTBGroup_Core].
-- Enabled OTBMosaic, needed by [OTBStatistics;OTBGroup_Core].
-- Enabled OTBObjectList, needed by [OTBMetadata;OTBVectorDataBase;OTBImageIO;OTBImageList;OTBImageManipulation;OTBApplicationEngine;OTBVectorDataManipulation;OTBPath;OTBAppCore;OTBOpticalCalibration;OTBStatistics;OTBDescriptors;OTBEdge;OTBGroup_Core].
-- Enabled OTBOpticalCalibration, needed by [OTBAppCore;OTBGroup_Core].
-- Enabled OTBPanSharpening, needed by [OTBAppCore;OTBGroup_Core].
-- Enabled OTBPath, needed by [OTBVectorDataManipulation;OTBMoments;OTBEdge;OTBIndices;OTBGroup_Core].
-- Enabled OTBPointSet, needed by [OTBDensity;OTBDescriptors;OTBGroup_Core].
-- Enabled OTBProjection, needed by [OTBApplicationEngine;OTBIOKML;OTBCarto;OTBStatistics;OTBAppCore;OTBEdge;OTBGroup_Core].
-- Enabled OTBQGIS, needed by [OTBGroup_Core].
-- Enabled OTBSWIGWrapper, needed by [OTBGroup_Core].
-- Enabled OTBSiftFast, needed by [OTBDescriptors;OTBGroup_ThirdParty].
-- Enabled OTBSmoothing, needed by [OTBGroup_Core].
-- Enabled OTBStatistics, needed by [OTBPanSharpening;OTBAppCore;OTBGroup_Core].
-- Enabled OTBStreaming, needed by [OTBImageIO;OTBImageManipulation;OTBConversion;OTBStatistics;OTBAppCore;OTBPointSet;OTBEdge;OTBGroup_Core].
-- Enabled OTBTestKernel, needed by [OTBGroup_Core].
-- Enabled OTBTinyXML, needed by [OTBMetadata;OTBIOGDAL;OTBApplicationEngine;OTBCarto;OTBIOXML;OTBFuzzy;OTBGroup_ThirdParty;OTBCommandLine].
-- Enabled OTBTransform, needed by [OTBImageManipulation;OTBProjection;OTBVectorDataManipulation;OTBApplicationEngine;OTBCarto;OTBAppCore;OTBDEM;OTBDescriptors;OTBGroup_Core;OTBKMZWriter].
-- Enabled OTBVectorDataBase, needed by [OTBIOGDAL;OTBProjection;OTBPath;OTBVectorDataManipulation;OTBApplicationEngine;OTBVectorDataIO;OTBIOKML;OTBCarto;OTBLabelMap;OTBConversion;OTBAppCore;OTBEdge;OTBIndices;OTBGroup_Core;OTBKMZWriter].
-- Enabled OTBVectorDataIO, needed by [OTBApplicationEngine;OTBCarto;OTBKMZWriter;OTBGroup_Core].
-- Enabled OTBVectorDataManipulation, needed by [OTBProjection;OTBVectorDataIO;OTBLabelMap;OTBConversion;OTBAppCore;OTBGroup_Core].
-- Found Boost: /usr/lib64/cmake/Boost-1.83.0/BoostConfig.cmake (found suitable version "1.83.0", minimum required is "1.35.0") found components: filesystem
-- Found GDAL: /usr/lib64/libgdal.so (found version "3.8.5")
-- Performing Test GDAL_VERSION
-- Performing Test GDAL_VERSION - Success
-- Performing Test COMPILE_GDAL_HAS_OGR - Success
-- Performing Test GDAL_FORMATS_LIST
-- Performing Test GDAL_FORMATS_LIST - Success
-- Performing Test GDAL_HAS_JPEG
-- Performing Test GDAL_HAS_JPEG - Success
-- Performing Test GDAL_HAS_GTiff
-- Performing Test GDAL_HAS_GTiff - Success
-- Performing Test GDAL_CAN_CREATE_GTiff
-- Performing Test GDAL_CAN_CREATE_GTiff - Success
-- Performing Test GDAL_CAN_CREATE_GTiff_BIGTIFF
-- Performing Test GDAL_CAN_CREATE_GTiff_BIGTIFF - Success
-- Performing Test GDAL_CAN_CREATE_JPEG
-- Performing Test GDAL_CAN_CREATE_JPEG - Success
-- Performing Test GDAL_HAS_JP2OpenJPEG
-- Performing Test GDAL_HAS_JP2OpenJPEG - Success
-- Performing Test GDAL_CAN_CREATE_JP2OpenJPEG
-- Performing Test GDAL_CAN_CREATE_JP2OpenJPEG - Success
-- Performing Test GDAL_HAS_JP2KAK
-- Performing Test GDAL_HAS_JP2KAK - Failed
-- Performing Test GDAL_HAS_JP2ECW
-- Performing Test GDAL_HAS_JP2ECW - Failed
-- Performing Test GDAL_HAS_JPEG2000
-- Performing Test GDAL_HAS_JPEG2000 - Failed
-- Performing Test GDAL_HAS_HDF5
-- Performing Test GDAL_HAS_HDF5 - Success
-- Performing Test GDAL_HAS_HDF4
-- Performing Test GDAL_HAS_HDF4 - Success
-- Performing Test GDAL_SYMBOLS
-- Performing Test GDAL_SYMBOLS - Success
-- GDAL driver used for JPEG2000 dataset is 'OpenJPEG'
CMake Warning at Modules/ThirdParty/ITK/otb-module-init.cmake:103 (find_package):
By not providing "FindITK.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ITK", but
CMake did not find one.
Could not find a package configuration file provided by "ITK" with any of
the following names:
ITKConfig.cmake
itk-config.cmake
Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set "ITK_DIR"
to a directory containing one of the above files. If "ITK" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMake/OTBModuleEnablement.cmake:285 (include)
CMakeLists.txt:308 (include)
CMake Error at build/lib/cmake/OTB-9.0/Modules/OTBITK.cmake:26 (find_package):
Could not find a package configuration file provided by "ITK" with any of
the following names:
ITKConfig.cmake
itk-config.cmake
Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set "ITK_DIR"
to a directory containing one of the above files. If "ITK" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMake/OTBModuleAPI.cmake:74 (include)
CMake/OTBModuleAPI.cmake:27 (otb_module_load)
CMake/OTBModuleAPI.cmake:120 (_otb_module_use_recurse)
CMake/OTBModuleMacros.cmake:146 (otb_module_use)
Modules/Core/Common/CMakeLists.txt:39 (otb_module_impl)
-- Configuring incomplete, errors occurred!
$ rpm -ql InsightToolkit-devel | rg ITKConfig.cmake
/usr/lib64/cmake/InsightToolkit/ITKConfig.cmake
$ rpm -qi InsightToolkit-devel
Name : InsightToolkit-devel
Version : 4.13.3
[snip]
$ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DITK_DIR=/usr/lib64/cmake/InsightToolkit
[snip]
CMake Error at /usr/lib64/cmake/InsightToolkit/Modules/ITKGDCM.cmake:15 (find_package):
By not providing "FindGDCM.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "GDCM", but
CMake did not find one.
Could not find a package configuration file provided by "GDCM" with any of
the following names:
GDCMConfig.cmake
gdcm-config.cmake
Add the installation prefix of "GDCM" to CMAKE_PREFIX_PATH or set
"GDCM_DIR" to a directory containing one of the above files. If "GDCM"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
/usr/lib64/cmake/InsightToolkit/ITKModuleAPI.cmake:71 (include)
/usr/lib64/cmake/InsightToolkit/ITKModuleAPI.cmake:26 (itk_module_load)
/usr/lib64/cmake/InsightToolkit/ITKModuleAPI.cmake:124 (_itk_module_config_recurse)
/usr/lib64/cmake/InsightToolkit/ITKConfig.cmake:82 (itk_module_config)
Modules/ThirdParty/ITK/otb-module-init.cmake:103 (find_package)
CMake/OTBModuleEnablement.cmake:285 (include)
CMakeLists.txt:308 (include)
$ rpm -ql InsightToolkit-devel | rg '.*GDCM.*\.cmake'
/usr/lib64/cmake/InsightToolkit/Modules/ITKGDCM.cmake