?Hi, there's a problem with HDF5 with CMake 3.9.x, not sure if it is the same 
problem, but give it a try with CMake 3.8.x. Best, Stefan

________________________________
Von: Pierre-Yves Menguy <[email protected]>
Gesendet: Montag, 28. August 2017 12:13
An: Sebastian Ordas
Cc: [email protected]
Betreff: Re: [mitk-users] HDF5 install build fails in RelWithDebInfo mode

Hello,

I have the same problem, using VS 2013 Update 5 or VS2015 Update 3.

I get this error :
8>    CMake Error at src/cmake_install.cmake:108 (file):
8>      file INSTALL cannot find
8>      "C:/MITK/MITK-SUPERBUILD/ep/src/HDF5-build/bin//hdf5.pdb".

C:/MITK/MITK-SUPERBUILD/ep/src/HDF5-build/cmake_install.cmake :
106 : if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "libraries" OR NOT 
CMAKE_INSTALL_COMPONENT)
107 :   if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES 
"^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$")
108 :     file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE FILE 
FILES "C:/MITK/MITK-SUPERBUILD/ep/src/HDF5-build/bin//hdf5.pdb")
109 :   endif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES 
"^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$")
110 : endif()

The line 108 is missing a folder ("[...]/bin/RelWithDebInfo/hdf5.pdb") which is 
strange, because it is mentionned elsewhere in the file :

Lines 131-133 :
  elseif("${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}/lib" TYPE STATIC_LIBRARY 
OPTIONAL FILES 
"C:/MITK/MITK-SUPERBUILD/ep/src/HDF5-build/bin/RelWithDebInfo/hdf5.lib")
  endif()

Unfortunately I have no clue how to solve the problem.


Pierre-Yves Menguy


On 24 August 2017 at 19:44, Sebastian Ordas 
<[email protected]<mailto:[email protected]>> wrote:
Hi Team,

I could not build latest MITK git commit in RelWithDebInfo.
I think the problem is in all cmake_install.cmake scripts:

C:/bin/mitk/ep/src/HDF5-build/hl/c++/src/cmake_install.cmake
C:/bin/mitk/ep/src/HDF5-build/hl/c++/examples/cmake_install.cmake
...

in lines:

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

...

could you please confirm?

thank you!
sebastian

[X]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
  Virus-free. 
www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to