diff --git a/External-ITK.cmake b/External-ITK.cmake index 162cfee..89f8496 100644 --- a/External-ITK.cmake +++ b/External-ITK.cmake @@ -1,7 +1,7 @@ #--------------------------------------------------------------------------- # Get and build itk -set(ITK_TAG "4f89edd8334da198099c686b993ec9f9f12dccdf") +set(ITK_TAG "87f5d83f15929900aea038abed43d46a14b69886") ExternalProject_Add(ITK GIT_REPOSITORY "https://github.com/Slicer/ITK.git" GIT_TAG "${ITK_TAG}" diff --git a/README.md b/README.md index 679328d..2cf1c0e 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ Currently, NRRD file format (.nrrd, .nhdr) supported only. To build this project Input diffusion MRI image expected to be in the shape of (size x, size y, size z, # of gradient directions), while mask file expected to be in the shape of (size x, size y, size z, 1). The external gradient file (if used) should not contain any comments and start from the first line, so just (#directins, 3) ASCII file. -The repository contains *Visual Studio* project files for development purposes, so you can safely delete them. *GCC*, *Clang*, *MSVC* compilers adequately supported. This package was tested on *Linux*, *Windows 10*, *Mac OS*. Please, refer to the Travis CI badge at the top of this manual to check if the current version is compilable. +The repository contains *Visual Studio* project files for development purposes, so you can safely delete them. *GCC*, *Clang*, *MSVC* compilers adequately supported. This package was tested on *Linux*, *Windows 10*, *Mac OS*. Please, refer to the Travis CI badge at the top of this manual to check if the current version is compilable. Only *GCC* version 7.x.x is currently adequately supported, so install and use this version (gcc and g++) and specify the system paths if necessary. The usage example for Cmake/make build you can find in linux_standalone_build.sh Saving ODF values operation might fail if you don't have enough RAM. diff --git a/linux_standalone_build.sh b/linux_standalone_build.sh index d14a999..2add5f0 100755 --- a/linux_standalone_build.sh +++ b/linux_standalone_build.sh @@ -15,8 +15,8 @@ then echo Start building using $n_threads threads mkdir build cd build - cmake .. -DJUST_BUILD=1 - make -j$n_threads + cmake .. -DJUST_BUILD=1 -D CMAKE_C_COMPILER=gcc-7 -D CMAKE_CXX_COMPILER=g++-7 + make -j$n_threads CC=gcc-7 CPP=g++-7 CXX=g++-7 LD=g++-7 else echo Incorrent number of threads fi