Open SpaceIm opened 1 year ago
I think that it's better to just switch to newer ITK version instead of trying to backport. 5.2.1 isn't much different from 5.1.2 (CMake part) so it should be easy to add it.
I tried to use last available ITK release: 5.4rc01, but I was not abel to compile (tried with msvc):
C:\Users\user\.conan2\p\b\itkeb35e367872fb\b\src\Modules\ThirdParty\NIFTI\src\nifti\niftilib\nifti1_io.c(6933): error C2143: syntax error: missing ')' before '*'
Also the last version is not compatible with cppstd lower than cppstd17.
And the previous version of ITK (5.3 eg) does not compile with cppstd20 (see the sources of my patches in my PR)
You could also bring in the conan recipe to your project, create ITK with your conan profile and get it building successfully. Then you can bring it into your project that way. You have flexibility to update the requirements, configuration, etc.
The proper solution here seems to force Conan not to allow anything above C++17 for the old version, and introduce 5.4 that does support C++ 20. I'll take care of it in the next few days :)
Description
With C++20 explicitly set in profile, CMake configuration fails because a third party lib vendored in itk hardcodes a range of supported C++ standards. It can't work without https://github.com/InsightSoftwareConsortium/ITK/pull/2034
Package and Environment Details
Conan profile
Steps to reproduce
Logs
Click to expand log
``` itk/5.1.2: Building from source itk/5.1.2: Package itk/5.1.2:0b0d8ac25e5c47ec537192c9de02e0c01ffc323e itk/5.1.2: Copying sources to build folder itk/5.1.2: Building your package in /home/spaceim/.conan2/p/b/itk7a02baa2df074/b itk/5.1.2: Calling generate() itk/5.1.2: Generators folder: /home/spaceim/.conan2/p/b/itk7a02baa2df074/b/build/Release/generators itk/5.1.2: CMakeToolchain generated: conan_toolchain.cmake itk/5.1.2: CMakeToolchain generated: CMakePresets.json itk/5.1.2: CMakeToolchain generated: ../../../src/CMakeUserPresets.json itk/5.1.2: Generating aggregated env files itk/5.1.2: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh'] itk/5.1.2: Calling build() itk/5.1.2: Apply patch (conan): inject thirdparties from conan itk/5.1.2: Running CMake.configure() itk/5.1.2: RUN: cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE="/home/spaceim/.conan2/p/b/itk7a02baa2df074/b/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/spaceim/.conan2/p/b/itk7a02baa2df074/p" -DCMAKE_PROJECT_ITK_INCLUDE="/home/spaceim/.conan2/p/b/itk7a02baa2df074/b/src/conan_cmake_project_include.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/spaceim/.conan2/p/b/itk7a02baa2df074/b/src" -- Using Conan toolchain: /home/spaceim/.conan2/p/b/itk7a02baa2df074/b/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: C++ Standard 20 with extensions OFF -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The CXX compiler identification is GNU 12.3.0 -- The C compiler identification is GNU 12.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++-12 - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc-12 - skipped -- Detecting C compile features -- Detecting C compile features - done -- Conan: Target declared 'double-conversion::double-conversion' -- Conan: Component target declared 'Eigen3::Eigen' -- Conan: Target declared 'EXPAT::EXPAT' -- Found EXPAT: 2.5.0 (found version "2.5.0") -- Conan: Target declared 'JPEG::JPEG' -- Conan: Target declared 'openjp2' -- Conan: Target declared 'PNG::PNG' -- Conan: Target declared 'ZLIB::ZLIB' -- Conan: Target declared 'TIFF::TIFF' -- Conan: Component target declared 'libdeflate::libdeflate_shared' -- Conan: Target declared 'LibLZMA::LibLZMA' -- Conan: Including build module from '/home/spaceim/.conan2/p/b/xz_ut90dfa751149c6/p/lib/cmake/conan-official-xz_utils-variables.cmake' -- Conan: Target declared 'jbig::jbig' -- Conan: Component target declared 'zstd::libzstd_shared' -- Conan: Component target declared 'WebP::webpdecoder' -- Conan: Component target declared 'WebP::sharpyuv' -- Conan: Component target declared 'WebP::webp' -- Conan: Component target declared 'WebP::webpdemux' -- Conan: Component target declared 'WebP::libwebpmux' -- Conan: Target declared 'libwebp::libwebp' -- Found Git: /usr/bin/git (found version "2.42.0") -- 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-Wshadow -- Performing Test C_HAS_WARNING-Wshadow - 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-Wshadow -- Performing Test CXX_HAS_WARNING-Wshadow - 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-Wno-undefined-var-template -- Performing Test CXX_HAS_WARNING-Wno-undefined-var-template - Failed -- 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 -- Performing Test C_HAS_WARNING-mtune_native -- Performing Test C_HAS_WARNING-mtune_native - Success -- Performing Test C_HAS_WARNING-march_corei7 -- Performing Test C_HAS_WARNING-march_corei7 - Success -- Performing Test CXX_HAS_WARNING-mtune_native -- Performing Test CXX_HAS_WARNING-mtune_native - Success -- Performing Test CXX_HAS_WARNING-march_corei7 -- Performing Test CXX_HAS_WARNING-march_corei7 - Success -- Performing Test have_gold -- Performing Test have_gold - Success -- Performing Test CXX_HAS_DISABLE_OPTIMIZATION_FLAG -- Performing Test CXX_HAS_DISABLE_OPTIMIZATION_FLAG - Failed -- Enabled ITKAnisotropicSmoothing, requested by Module_ITKAnisotropicSmoothing. -- Enabled ITKAntiAlias, requested by Module_ITKAntiAlias. -- Enabled ITKBiasCorrection, requested by Module_ITKBiasCorrection. -- Enabled ITKBinaryMathematicalMorphology, requested by Module_ITKBinaryMathematicalMorphology. -- Enabled ITKClassifiers, requested by Module_ITKClassifiers. -- Enabled ITKColormap, requested by Module_ITKColormap. -- Enabled ITKCommon, needed by [ITKGroup_Core;ITKFiniteDifference;ITKGPUCommon;ITKGPUFiniteDifference;ITKImageAdaptors;ITKStatistics;ITKTransform;ITKImageFilterBase;ITKQuadEdgeMesh;ITKSpatialObjects;ITKTestKernel;ITKIOImageBase;ITKIOGDCM;ITKIOMeshBYU;ITKIOMeshBase;ITKIOMeshFreeSurfer;ITKIOMeshGifti;ITKIOMeshOBJ;ITKIOMeshOFF;ITKIOMeshVTK;ITKPath;ITKImageSources;ITKBiasCorrection;ITKPolynomials;ITKColormap;ITKFFT;ITKGPUAnisotropicSmoothing;ITKGPUImageFilterBase;ITKGPUSmoothing;ITKGPUThresholding;ITKIOMesh;ITKIOTransformBase;ITKTransformFactory;ITKReview;ITKKLMRegionGrowing;ITKVTK;ITKOptimizersv4;ITKGPURegistrationCommon;ITKGPUPDEDeformableRegistration;ITKMetricsv4;ITKLevelSetsv4;ITKVideoCore]. -- Enabled ITKConnectedComponents, requested by Module_ITKConnectedComponents. -- Enabled ITKConvolution, requested by Module_ITKConvolution. -- Enabled ITKCurvatureFlow, requested by Module_ITKCurvatureFlow. -- Enabled ITKDICOMParser, requested by Module_ITKDICOMParser. -- Enabled ITKDeconvolution, requested by Module_ITKDeconvolution. -- Enabled ITKDeformableMesh, requested by Module_ITKDeformableMesh. -- Enabled ITKDenoising, requested by Module_ITKDenoising. -- Enabled ITKDiffusionTensorImage, requested by Module_ITKDiffusionTensorImage. -- Enabled ITKDisplacementField, requested by Module_ITKDisplacementField. -- Enabled ITKDistanceMap, requested by Module_ITKDistanceMap. -- Enabled ITKDoubleConversion, needed by [ITKCommon;ITKTestKernel;ITKIOMeshVTK;ITKIOTransformInsightLegacy]. -- Enabled ITKEigen, requested by Module_ITKEigen. -- Enabled ITKEigen3, needed by [ITKCommon]. -- Enabled ITKExpat, needed by [ITKGIFTI;ITKIOXML]. -- Enabled ITKFEM, requested by Module_ITKFEM. -- Enabled ITKFEMRegistration, requested by Module_ITKFEMRegistration. -- Enabled ITKFFT, requested by Module_ITKFFT. -- Enabled ITKFastMarching, requested by Module_ITKFastMarching. -- Enabled ITKFiniteDifference, needed by [ITKGroup_Core;ITKGPUFiniteDifference;ITKCurvatureFlow;ITKNarrowBand;ITKLevelSets;ITKReview;ITKPDEDeformableRegistration;ITKRegistrationCommon]. -- Enabled ITKGDCM, needed by [ITKIOGDCM]. -- Enabled ITKGIFTI, requested by Module_ITKGIFTI. -- Enabled ITKGPUAnisotropicSmoothing, requested by Module_ITKGPUAnisotropicSmoothing. -- Enabled ITKGPUCommon, needed by [ITKGroup_Core;ITKGPUFiniteDifference;ITKGPUAnisotropicSmoothing;ITKGPUImageFilterBase;ITKGPUSmoothing;ITKGPUThresholding;ITKGPURegistrationCommon;ITKGPUPDEDeformableRegistration]. -- Enabled ITKGPUFiniteDifference, needed by [ITKGroup_Core;ITKGPUAnisotropicSmoothing;ITKGPURegistrationCommon;ITKGPUPDEDeformableRegistration]. -- Enabled ITKGPUImageFilterBase, requested by Module_ITKGPUImageFilterBase. -- Enabled ITKGPUPDEDeformableRegistration, requested by Module_ITKGPUPDEDeformableRegistration. -- Enabled ITKGPURegistrationCommon, requested by Module_ITKGPURegistrationCommon. -- Enabled ITKGPUSmoothing, requested by Module_ITKGPUSmoothing. -- Enabled ITKGPUThresholding, requested by Module_ITKGPUThresholding. -- Enabled ITKHDF5, needed by [ITKIOHDF5;ITKIOTransformHDF5]. -- Enabled ITKIOBMP, needed by [ITKTestKernel;ITKReview]. -- Enabled ITKIOBioRad, needed by [ITKReview]. -- Enabled ITKIOCSV, requested by Module_ITKIOCSV. -- Enabled ITKIOGDCM, needed by [ITKTestKernel;ITKReview]. -- Enabled ITKIOGE, requested by Module_ITKIOGE. -- Enabled ITKIOGIPL, needed by [ITKTestKernel;ITKReview]. -- Enabled ITKIOHDF5, requested by Module_ITKIOHDF5. -- Enabled ITKIOIPL, requested by Module_ITKIOIPL. -- Enabled ITKIOImageBase, needed by [ITKIOBMP;ITKIOGDCM;ITKIOGIPL;ITKTestKernel;ITKIOJPEG;ITKIOMeshBase;ITKIOMeta;ITKIONIFTI;ITKIONRRD;ITKIOPNG;ITKIOTIFF;ITKIOVTK;ITKLevelSets;ITKDenoising;ITKIOCSV;ITKIOIPL;ITKIOGE;ITKIOHDF5;ITKIOPhilipsREC;ITKIORAW;ITKIOSiemens;ITKIOXML;ITKIOBioRad;ITKReview;ITKIOStimulate]. -- Enabled ITKIOJPEG, needed by [ITKTestKernel;ITKReview]. -- Enabled ITKIOMesh, requested by Module_ITKIOMesh. -- Enabled ITKIOMeshBYU, needed by [ITKTestKernel;ITKIOMesh]. -- Enabled ITKIOMeshBase, needed by [ITKIOMeshBYU;ITKIOMeshFreeSurfer;ITKIOMeshGifti;ITKIOMeshOBJ;ITKIOMeshOFF;ITKIOMeshVTK;ITKIOMesh]. -- Enabled ITKIOMeshFreeSurfer, needed by [ITKTestKernel;ITKIOMesh]. -- Enabled ITKIOMeshGifti, needed by [ITKTestKernel;ITKIOMesh]. -- Enabled ITKIOMeshOBJ, needed by [ITKTestKernel;ITKIOMesh]. -- Enabled ITKIOMeshOFF, needed by [ITKTestKernel;ITKIOMesh]. -- Enabled ITKIOMeshVTK, needed by [ITKTestKernel;ITKIOMesh]. -- Enabled ITKIOMeta, needed by [ITKTestKernel;ITKReview]. -- Enabled ITKIONIFTI, needed by [ITKTestKernel;ITKReview]. -- Enabled ITKIONRRD, needed by [ITKTestKernel;ITKReview]. -- Enabled ITKIOPNG, needed by [ITKTestKernel;ITKReview]. -- Enabled ITKIOPhilipsREC, requested by Module_ITKIOPhilipsREC. -- Enabled ITKIORAW, requested by Module_ITKIORAW. -- Enabled ITKIOSiemens, requested by Module_ITKIOSiemens. -- Enabled ITKIOSpatialObjects, requested by Module_ITKIOSpatialObjects. -- Enabled ITKIOStimulate, needed by [ITKReview]. -- Enabled ITKIOTIFF, needed by [ITKTestKernel;ITKReview]. -- Enabled ITKIOTransformBase, requested by Module_ITKIOTransformBase. -- Enabled ITKIOTransformHDF5, needed by [ITKReview]. -- Enabled ITKIOTransformInsightLegacy, requested by Module_ITKIOTransformInsightLegacy. -- Enabled ITKIOTransformMatlab, requested by Module_ITKIOTransformMatlab. -- Enabled ITKIOVTK, needed by [ITKTestKernel;ITKReview]. -- Enabled ITKIOXML, requested by Module_ITKIOXML. -- Enabled ITKImageAdaptors, needed by [ITKGroup_Core;ITKImageFunction;ITKImageIntensity;ITKImageGradient;ITKDenoising;ITKReview]. -- Enabled ITKImageCompare, requested by Module_ITKImageCompare. -- Enabled ITKImageCompose, requested by Module_ITKImageCompose. -- Enabled ITKImageFeature, requested by Module_ITKImageFeature. -- Enabled ITKImageFilterBase, needed by [ITKTransform;ITKVoronoi;ITKCurvatureFlow;ITKImageCompose;ITKImageStatistics;ITKMathematicalMorphology;ITKImageCompare;ITKGPUImageFilterBase;ITKEigen;ITKReview]. -- Enabled ITKImageFunction, needed by [ITKGroup_Core;ITKSpatialObjects;ITKImageGrid;ITKPath;ITKSmoothing;ITKSignedDistanceFunction;ITKSpatialFunction;ITKReview;ITKRegistrationCommon;ITKFEM]. -- Enabled ITKImageFusion, requested by Module_ITKImageFusion. -- Enabled ITKImageGradient, requested by Module_ITKImageGradient. -- Enabled ITKImageGrid, requested by Module_ITKImageGrid. -- Enabled ITKImageIntensity, requested by Module_ITKImageIntensity. -- Enabled ITKImageLabel, requested by Module_ITKImageLabel. -- Enabled ITKImageSources, requested by Module_ITKImageSources. -- Enabled ITKImageStatistics, requested by Module_ITKImageStatistics. -- Enabled ITKIntegratedTest, requested by Module_ITKIntegratedTest. -- Enabled ITKJPEG, needed by [ITKIOJPEG;ITKTIFF]. -- Enabled ITKKLMRegionGrowing, requested by Module_ITKKLMRegionGrowing. -- Enabled ITKKWIML, needed by [ITKCommon;ITKTIFF]. -- Enabled ITKKWSys, needed by [ITKCommon;ITKTestKernel]. -- Enabled ITKLIBLBFGS, needed by [ITKOptimizersv4]. -- Enabled ITKLabelMap, requested by Module_ITKLabelMap. -- Enabled ITKLabelVoting, requested by Module_ITKLabelVoting. -- Enabled ITKLevelSets, requested by Module_ITKLevelSets. -- Enabled ITKLevelSetsv4, requested by Module_ITKLevelSetsv4. -- Enabled ITKMarkovRandomFieldsClassifiers, requested by Module_ITKMarkovRandomFieldsClassifiers. -- Enabled ITKMathematicalMorphology, requested by Module_ITKMathematicalMorphology. -- Enabled ITKMesh, needed by [ITKGroup_Core;ITKQuadEdgeMesh;ITKSpatialObjects;ITKIOMeshBase;ITKVoronoi;ITKIOMeshBYU;ITKIOMeshFreeSurfer;ITKIOMeshGifti;ITKIOMeshOBJ;ITKIOMeshOFF;ITKIOMeshVTK;ITKFastMarching;ITKImageFeature;ITKQuadEdgeMeshFiltering;ITKIOSpatialObjects;ITKDeformableMesh;ITKReview]. -- Enabled ITKMetaIO, needed by [ITKSpatialObjects;ITKIOMeta]. -- Enabled ITKMetricsv4, requested by Module_ITKMetricsv4. -- Enabled ITKNIFTI, needed by [ITKGIFTI;ITKIONIFTI]. -- Enabled ITKNarrowBand, requested by Module_ITKNarrowBand. -- Enabled ITKNetlib, needed by [ITKStatistics]. -- Enabled ITKNrrdIO, needed by [ITKIONRRD]. -- Enabled ITKOpenJPEG, needed by [ITKReview]. -- Enabled ITKOptimizers, requested by Module_ITKOptimizers. -- Enabled ITKOptimizersv4, requested by Module_ITKOptimizersv4. -- Enabled ITKPDEDeformableRegistration, requested by Module_ITKPDEDeformableRegistration. -- Enabled ITKPNG, needed by [ITKIOPNG]. -- Enabled ITKPath, requested by Module_ITKPath. -- Enabled ITKPolynomials, requested by Module_ITKPolynomials. -- Enabled ITKQuadEdgeMesh, needed by [ITKGroup_Core;ITKIOMeshBase;ITKFastMarching;ITKQuadEdgeMeshFiltering;ITKReview]. -- Enabled ITKQuadEdgeMeshFiltering, requested by Module_ITKQuadEdgeMeshFiltering. -- Enabled ITKRegionGrowing, requested by Module_ITKRegionGrowing. -- Enabled ITKRegistrationCommon, requested by Module_ITKRegistrationCommon. -- Enabled ITKRegistrationMethodsv4, requested by Module_ITKRegistrationMethodsv4. -- Enabled ITKReview, requested by Module_ITKReview. -- Enabled ITKSignedDistanceFunction, requested by Module_ITKSignedDistanceFunction. -- Enabled ITKSmoothing, requested by Module_ITKSmoothing. -- Enabled ITKSpatialFunction, requested by Module_ITKSpatialFunction. -- Enabled ITKSpatialObjects, needed by [ITKGroup_Core;ITKImageStatistics;ITKImageFeature;ITKDiffusionTensorImage;ITKIOSpatialObjects;ITKRegistrationCommon;ITKReview;ITKFEM;ITKFEMRegistration]. -- Enabled ITKStatistics, needed by [ITKImageFunction;ITKTransform;ITKLabelMap;ITKOptimizers;ITKDenoising;ITKClassifiers;ITKMarkovRandomFieldsClassifiers;ITKRegistrationCommon;ITKReview]. -- Enabled ITKTBB, requested by Module_ITKTBB. -- Enabled ITKTIFF, needed by [ITKIOTIFF]. -- Enabled ITKTestKernel, needed by [ITKGroup_Core]. -- Enabled ITKThresholding, requested by Module_ITKThresholding. -- Enabled ITKTransform, needed by [ITKImageFunction;ITKMesh;ITKSpatialObjects;ITKIONIFTI;ITKGroup_Core;ITKImageStatistics;ITKLabelMap;ITKIOTransformBase;ITKTransformFactory;ITKOptimizersv4]. -- Enabled ITKTransformFactory, needed by [ITKIOTransformBase]. -- Enabled ITKVNL, needed by [ITKVNLInstantiation;ITKNetlib]. -- Enabled ITKVNLInstantiation, needed by [ITKCommon]. -- Enabled ITKVTK, needed by [ITKReview]. -- Enabled ITKVideoCore, requested by Module_ITKVideoCore. -- Enabled ITKVideoFiltering, requested by Module_ITKVideoFiltering. -- Enabled ITKVoronoi, requested by Module_ITKVoronoi. -- Enabled ITKWatersheds, requested by Module_ITKWatersheds. -- Enabled ITKZLIB, needed by [ITKMetaIO;ITKIOGIPL;ITKNIFTI;ITKGIFTI;ITKNrrdIO;ITKPNG;ITKTIFF;ITKHDF5;ITKIOPhilipsREC]. CMake Deprecation Warning at Modules/ThirdParty/KWIML/src/itkkwiml/CMakeLists.txt:20 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument