[ITK] Compile errors using ITK 4.13.1

Ally Warner avw0731 at gmail.com
Wed Oct 10 19:46:02 EDT 2018


Hello,

I am a developer at the University of Utah and we use ITK for our software, Seg3D. Seg3D recently had a 404 error from the FFTW download because midas has been deprecated. To fix that, I am trying to upgrade our ITK version from 4.13.0 to 4.13.1. When I merged 4.13.1 and tried to build Seg3D, I received the following error: 

ATTENTION: You have enabled the use of FFTW. This library is distributed under a GPL license. By enabling this option, the ITK libraries binary that is built will be covered by a GPL license and so will any executable that is linked against these libraries.
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.4/Modules/ExternalProject.cmake:1825 (message):
  URL_HASH is set to

    SHA512="1ee2c7bec3657f6846e63c6dfa71410563830d2b951966bf0123bd8f4f2f5d6b50f13b76d9a7b0eae70e44856f829ca6ceb3d080bb01649d1572c9f3f68e8eb1"

  but must be ALGO=value where ALGO is

    MD5|SHA1|SHA224|SHA256|SHA384|SHA512

  and value is a hex string.
Call Stack (most recent call first):
  /Applications/CMake.app/Contents/share/cmake-3.4/Modules/ExternalProject.cmake:2430 (_ep_add_download_command)
  CMake/itkExternal_FFTW.cmake:90 (ExternalProject_add)
  CMakeLists.txt:321 (include)


-- Configuring incomplete, errors occurred!
See also "/Users/alexandrawarner/Documents/Seg3D/bin/Externals/Build/ITK_external/CMakeFiles/CMakeOutput.log".
See also "/Users/alexandrawarner/Documents/Seg3D/bin/Externals/Build/ITK_external/CMakeFiles/CMakeError.log".
make[2]: *** [Externals/Stamp/ITK_external/ITK_external-configure] Error 1
make[1]: *** [CMakeFiles/ITK_external.dir/all] Error 2
make: *** [all] Error 2

After looking through ITK’s code changes, I noticed that in the itkExternal_FFTW.cmake file there were parentheses after the $ for the URL and the URL_HASH commands. There weren’t these parentheses in other files around these same commands. So I removed them and rebuilt. Then I received the following error: 

CMake Error at fftwd-stamp/download-fftwd.cmake:27 (message):
  error: downloading
  'https://data.kitware.com/api/v1/file/hashsum/sha512/1ee2c7bec3657f6846e63c6dfa71410563830d2b951966bf0123bd8f4f2f5d6b50f13b76d9a7b0eae70e44856f829ca6ceb3d080bb01649d1572c9f3f68e8eb1/download' <https://data.kitware.com/api/v1/file/hashsum/sha512/1ee2c7bec3657f6846e63c6dfa71410563830d2b951966bf0123bd8f4f2f5d6b50f13b76d9a7b0eae70e44856f829ca6ceb3d080bb01649d1572c9f3f68e8eb1/download'>
  failed

    status_code: 35
    status_string: "SSL connect error"
    log:   Trying 50.58.123.189...

  Connected to data.kitware.com <http://data.kitware.com/> (50.58.123.189) port 443 (#0)

  Server aborted the SSL handshake

  Closing connection 0

  



make[5]: *** [fftwd/src/fftwd-stamp/fftwd-download] Error 1
make[4]: *** [CMakeFiles/fftwd.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
Updating '.':
CMake Error at fftwf-stamp/download-fftwf.cmake:27 (message):
  error: downloading
  'https://data.kitware.com/api/v1/file/hashsum/sha512/1ee2c7bec3657f6846e63c6dfa71410563830d2b951966bf0123bd8f4f2f5d6b50f13b76d9a7b0eae70e44856f829ca6ceb3d080bb01649d1572c9f3f68e8eb1/download' <https://data.kitware.com/api/v1/file/hashsum/sha512/1ee2c7bec3657f6846e63c6dfa71410563830d2b951966bf0123bd8f4f2f5d6b50f13b76d9a7b0eae70e44856f829ca6ceb3d080bb01649d1572c9f3f68e8eb1/download'>
  failed

    status_code: 35
    status_string: "SSL connect error"
    log:   Trying 50.58.123.189...

  Connected to data.kitware.com <http://data.kitware.com/> (50.58.123.189) port 443 (#0)

  Server aborted the SSL handshake

  Closing connection 0

  



make[5]: *** [fftwf/src/fftwf-stamp/fftwf-download] Error 1
make[4]: *** [CMakeFiles/fftwf.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [Externals/Stamp/ITK_external/ITK_external-build] Error 2
make[1]: *** [CMakeFiles/ITK_external.dir/all] Error 2

I am not sure what to do now, and was hoping for some guidance. I’m thinking that the server might be down, but wanted to be sure that there wasn’t something else I was missing. 

Thank you for your help,
Ally Warner
SCI Institute


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://itk.org/pipermail/community/attachments/20181010/f58b3bf3/attachment.html>


More information about the Community mailing list