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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users