CMake problem with ITK and fftw

(Paulo Freire) #1

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


but must be ALGO=value where ALGO is


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!

(Matt McCormick) #2

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.


(Paulo Freire) #3

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