1

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?

S.EB
  • 189

1 Answers1

1

Ubuntu 14.04 - amd64. ... Build a cmake for ITK5.0, e.g. cmake_3.10.3 : Get the "build-deps" → $ sudo apt install g++ libncurses5-dev gfortran libbz2-dev libcurl4-openssl-dev python-sphinx libjsoncpp0 libarchive-dev libexpat1-dev libuv-dev librhash-dev liblzma-dev emacs python-all-dev desktop-file-utils libx11-dev libjsoncpp-dev

Result : cmake_3.10.3-1ubuntu14_amd64.deb https://drive.google.com/file/d/1nUI2nRc7KfbxJZuQb9XduCiLt_qpZxlR/view?usp=sharing

Install / update 'cmake' : $ sudo gdebi Downloads/cmake_3.10.3-1ubuntu14_amd64.deb


$ cd ITK-5.0a02/build/ && cmake .. && make : The 259 executable´s are created → 1.2GB (Build time = 3 .. 4 hours)

$ sudo make install > ITK5_install.loghttps://www.dropbox.com/s/ip7zbyzifgqlkzm/ITK5_install.log.txt?dl=0 → Line 2904: /usr/local/bin/itkTestDriver

Knud Larsen
  • 3,134