Page MenuHomePhabricator

HDF5 library: superbuild fails in Install phase of RelWithDebInfo
Closed, WontfixPublic

Description

In MITK\ep\src\HDF5-build\src\cmake_install.cmake, line 113 there is a defect that appears when building in RelWithDebInfo:

file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE FILE FILES "C:/work/bin/MITK/ep/src/HDF5-build/bin//hdf5.pdb")

The line should be:

file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE FILE FILES "C:/work/bin/MITK/ep/src/HDF5-build/bin/RelWithDebInfo/hdf5.pdb")

Thanks!

Event Timeline

milano triaged this task as High priority.Mar 29 2018, 10:44 PM
milano created this task.
kislinsk lowered the priority of this task from High to Low.Mar 30 2018, 3:39 AM

Lowering priority as long as Debug and Release configurations are not affected. We currently do not patch HDF5 in any way so isn't this an HDF5 bug that should be reported there?

Ok. I've patched my MITK version. HDF5 was using CMAKE_BUILD_TYPE to get the RelWithDebInfo directory. They were also using CMAKE_BUILD_TYPE in other places, and that does not work in multi-configuration generators like Visual Studio. I've downloaded the latest stable version 1.10.2 and this problem is corrected. They are not using CMAKE_BUILD_TYPE anymore.

Thanks!

kislinsk added a subscriber: kislinsk.
kislinsk edited projects, added MITK; removed MITK (2018-04-4).

HDF5 1.10.5 does not work at least with ITK 4.13, so upgrading HDF5 would probably result in an upgrade cascade that is not appropriate for a minor release. Hence I removed the 2018-04-4 milestone tag.

kislinsk added a project: Auto-closed.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs