Hi Gwenal, This issue was reported together with a solution here [1]. To replace our version of HDF5 with a working one, change the URL in MITK/CMakeExternals/HDF5.cmake to a path to a HDF5 tarball on your drive and either adapt the MD5 value or remove it. I tagged this task with the upcoming milestone so I hope it is resolved in general soon-ish.
Best, Stefan [1] https://phabricator.mitk.org/T24555 From: Gwenael G [mailto:gwen.li...@hotmail.co.uk] Sent: Friday, May 10, 2019 12:47 PM To: mitk-users@lists.sourceforge.net Subject: [mitk-users] HDF5 install build fails in RelWithDebInfo mode Hi All, Even though I found a similar question in the archive, I didn't see a solution to the problem. When compiling the Super-Build, I get the following message: CMake Error at src/cmake_install.cmake:108 (file): file INSTALL cannot find "C:/MITK/MITK-SUPERBUILD/ep/src/HDF5-build/bin//hdf5.pdb". Digging around, I think that the error stems from C:/MITK/MITK-SUPERBUILD/ep/src/HDF5-build/src/cmake_install.cmake in which there is a line that reads: if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xlibrariesx" OR NOT CMAKE_INSTALL_COMPONENT) if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$") file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE FILE FILES "C:/MITK/MITK-SUPERBUILD/ep/src/HDF5-build/bin//hdf5.pdb") endif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$") endif() Please note: build/bin//hdf5.pdb instead, I think, of build/bin/RelWithDebInfo/hdf5.pdb I think it should read if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xlibrariesx" OR NOT CMAKE_INSTALL_COMPONENT) if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$") file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE FILE FILES "C:/MITK/MITK-SUPERBUILD/ep/src/HDF5-build/bin/RelWithDebInfo/hdf5.pdb") endif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$") endif() However, I don't have any control over this file as it is automatically generated. What do I need to do to be able to compile in RelWithDebInfo mode? Best, Gwenael [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users