Getting build error related to cmake version:
==> Starting build()...
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
-> error making: insight-toolkit4-exit status 4
-> Failed to install the following packages. Manual intervention is required:
insight-toolkit4 - exit status 4
Adding -DCMAKE_POLICY_VERSION_MINIMUM=3.5
as suggested goes a bit further in the build but still fails:
-- Performing Test VXL_PIC_COMPATIBLE
CMake Error at /home/starch/.cache/yay/insight-toolkit4/src/InsightToolkit-4.13.3/Modules/ThirdParty/VNL/src/vxl/config/cmake/config/vxl_shared_link_test/CMakeLists.txt:3 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
CMake Error at Modules/ThirdParty/VNL/src/vxl/config/cmake/config/VXLIntrospectionConfig.cmake:114 (try_compile):
Failed to configure test project build system.
Call Stack (most recent call first):
Modules/ThirdParty/VNL/src/vxl/config/cmake/config/VXLIntrospectionConfig.cmake:486 (PERFORM_CMAKE_TEST_CUSTOM)
Modules/ThirdParty/VNL/src/vxl/CMakeLists.txt:201 (include)
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
m-pilia commented on 2021-03-28 14:19 (UTC) (edited on 2021-03-28 14:20 (UTC) by m-pilia)
NOTE: The main difference between this package and itk4 is that
itk4
conflicts withinsight-toolkit
(i.e. the latest ITK version), while this package can be installed in parallel and allows having both ITK4 and ITK5 available on the same system.