I want to install a software, which requires ITK and it is raising an error:
[ 52%] Performing configure step for 'ITKv5'
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.10.2 or higher is required. You are running version 3.5.1
-- Configuring incomplete, errors occurred!
CMakeFiles/ITKv5.dir/build.make:107: recipe for target 'ITKv5-prefix/src/ITKv5-stamp/ITKv5-configure' failed
make[2]: *** [ITKv5-prefix/src/ITKv5-stamp/ITKv5-configure] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/ITKv5.dir/all' failed
make[1]: *** [CMakeFiles/ITKv5.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
I removed the current cmake (3.5.1) and installed it again from cmake website and by following the instructions here. The newest version is cmake version 3.11.3
, However, I still get the same error. Could you please help me with this?
CMake 3.10.2 or higher is required. You are running version 3.5.1
you did not uninstall the old CMake. Which one of the many answers present there did you follow exactly? – dadexix86 Jun 09 '18 at 09:47sudo apt remove cmake
andsudo apt purge --auto-remove cmake
– S.EB Jun 09 '18 at 10:04itk3-dev
direct from the Ubuntu repository – steeldriver Jun 09 '18 at 10:11itk3
: OOP extension for Tk - run-time files. .... "ITK-5.0" : The Insight Segmentation and Registration Toolkit >> ITK, medical image analysis, Medical Visualization, Performance https://itk.org/ → → https://blog.kitware.com/itk-5-0-alpha-2-performance/ – Knud Larsen Jun 09 '18 at 12:26