open-discussion > DTIPrep gitclone install errors
Showing 1-4 of 4 posts
Jun 28, 2019 03:06 PM | gpicci - The Pennsylvania State University
DTIPrep gitclone install errors
Hello,
I'm having issues successfully installing DTIPrep in Linux. I followed the commands others listed with the gitclone and cmake. However, I get the following error during configuration:
CMake Error at CMakeLists.txt:261 (message):
Invlaid configuration: ITKV3_COMPATIBILITY AND ITK_LEGACY_REMOVE can not
both be ON
Does anyone have an idea about how to fix this?
Thank you in advance!
Giorgia
I'm having issues successfully installing DTIPrep in Linux. I followed the commands others listed with the gitclone and cmake. However, I get the following error during configuration:
CMake Error at CMakeLists.txt:261 (message):
Invlaid configuration: ITKV3_COMPATIBILITY AND ITK_LEGACY_REMOVE can not
both be ON
Does anyone have an idea about how to fix this?
Thank you in advance!
Giorgia
Jun 28, 2019 08:06 PM | Martin Styner
RE: DTIPrep gitclone install errors
Hi Giorgia
Can you turn ITK_LEGACY_REMOVE off for the itk compilation?
Martin
Originally posted by gpicci:
Can you turn ITK_LEGACY_REMOVE off for the itk compilation?
Martin
Originally posted by gpicci:
Hello,
I'm having issues successfully installing DTIPrep in Linux. I followed the commands others listed with the gitclone and cmake. However, I get the following error during configuration:
CMake Error at CMakeLists.txt:261 (message):
Invlaid configuration: ITKV3_COMPATIBILITY AND ITK_LEGACY_REMOVE can not
both be ON
Does anyone have an idea about how to fix this?
Thank you in advance!
Giorgia
I'm having issues successfully installing DTIPrep in Linux. I followed the commands others listed with the gitclone and cmake. However, I get the following error during configuration:
CMake Error at CMakeLists.txt:261 (message):
Invlaid configuration: ITKV3_COMPATIBILITY AND ITK_LEGACY_REMOVE can not
both be ON
Does anyone have an idea about how to fix this?
Thank you in advance!
Giorgia
Jul 2, 2019 03:07 PM | gpicci - The Pennsylvania State University
RE: DTIPrep gitclone install errors
Hi Martin,
Thank you for your reply! I can certainly try. I'm a bit of a newbie in command line. Do you have recommendations for commands to do this?
Giorgia
Thank you for your reply! I can certainly try. I'm a bit of a newbie in command line. Do you have recommendations for commands to do this?
Giorgia
Oct 8, 2019 03:10 PM | John Graner
RE: DTIPrep gitclone install errors
Giorgia,
I ran into the same error and found a way around it. I am getting another error down the line now but I figured I'd share this in case it helps. Here's what I did, starting from the beginning of the install process (I also added a command to create the DTIPrep-build/bin directory because for some reason the installation wasn't creating it correctly):
1) git clone https://github.com/NIRALUser/DTIPrep.git
2) mkdir DTIPrep-build; mkdir DTIPrep-build/bin; cd DTIPrep-build
3) cmake ../DTIPrep
4) (Open the file ../DTIPrep/SuperBuild/External_ITKv4.cmake with a text editor.)
5) (Change the default value of "-DITK_LEGACY_REMOVE" to "OFF".)
6) make
Here's the next error I'm getting that I haven't been able to solve:
CMake Error at /usr/local/share/cmake-3.12/Modules/ExternalProject.cmake:2425 (message):
URL_HASH is set to
SHA512="1ee2c7bec3657f6846e63c6dfa71410563830d2b951966bf0123bd8f4f2f5d6b50f13b76d9a7b0eae70e44856f829ca6ceb3d080bb016
49d1572c9f3f68e8eb1"
but must be ALGO=value where ALGO is
MD5|SHA1|SHA224|SHA256|SHA384|SHA512|SHA3_224|SHA3_256|SHA3_384|SHA3_512
and value is a hex string.
Call Stack (most recent call first):
/usr/local/share/cmake-3.12/Modules/ExternalProject.cmake:3100 (_ep_add_download_command)
CMake/itkExternal_FFTW.cmake:118 (ExternalProject_add)
CMakeLists.txt:321 (include)
Thanks,
-John
I ran into the same error and found a way around it. I am getting another error down the line now but I figured I'd share this in case it helps. Here's what I did, starting from the beginning of the install process (I also added a command to create the DTIPrep-build/bin directory because for some reason the installation wasn't creating it correctly):
1) git clone https://github.com/NIRALUser/DTIPrep.git
2) mkdir DTIPrep-build; mkdir DTIPrep-build/bin; cd DTIPrep-build
3) cmake ../DTIPrep
4) (Open the file ../DTIPrep/SuperBuild/External_ITKv4.cmake with a text editor.)
5) (Change the default value of "-DITK_LEGACY_REMOVE" to "OFF".)
6) make
Here's the next error I'm getting that I haven't been able to solve:
CMake Error at /usr/local/share/cmake-3.12/Modules/ExternalProject.cmake:2425 (message):
URL_HASH is set to
SHA512="1ee2c7bec3657f6846e63c6dfa71410563830d2b951966bf0123bd8f4f2f5d6b50f13b76d9a7b0eae70e44856f829ca6ceb3d080bb016
49d1572c9f3f68e8eb1"
but must be ALGO=value where ALGO is
MD5|SHA1|SHA224|SHA256|SHA384|SHA512|SHA3_224|SHA3_256|SHA3_384|SHA3_512
and value is a hex string.
Call Stack (most recent call first):
/usr/local/share/cmake-3.12/Modules/ExternalProject.cmake:3100 (_ep_add_download_command)
CMake/itkExternal_FFTW.cmake:118 (ExternalProject_add)
CMakeLists.txt:321 (include)
Thanks,
-John