CMake problem with ITK and fftw

Hello everyone. I’m trying to build ITK 4.13.1 with fftw-3.3.8. When I set either or both flags ITK_USE_FFTWD and ITK_USE_FFTWF on, I get the following error during the “configure” step:

CMake Error at /usr/local/share/cmake-3.12/Modules/ExternalProject.cmake:2425 (message):
URL_HASH is set to

SHA512=“1ee2c7bec3657f6846e63c6dfa71410563830d2b951966bf0123bd8f4f2f5d6b50f13b76d9a7b0eae70e44856f829ca6ceb3d080bb01649d1572c9f3
f68e8eb1”

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:90 (ExternalProject_add)
CMakeLists.txt:321 (include)

Does anyone know how to solve this problem? Thank you very much!

Hello Paulo,

This issue has been addressed, and the fix will be available in the 4.13.2 release. In the meantime, use the ITK Git release-4.13, release, or master branches, or set ITK_USE_SYSTEM_FFTW in your CMake configuration.

HTH,
Matt

1 Like

Perfect. Thank you very much, @matt.mccormick!

1 Like