Hi,
thanks for reporting this. As it seems cmake 3.6 is has removed HDF5_LIBRARY_DIRS. Which is kind of bad for a tool like this to do in my opinion...
Are you sure that the "CXX" component is necessary? I will have a look, maybe "HL" is enough...
regards
Thorsten
make for CSXCAD failed
Moderators: thorsten, sebastian
Re: make for CSXCAD failed
I checked, it should be the C and HL components, I'm not using the CXX interface...
Can you check if the following works for you?
regards
Thorsten
Can you check if the following works for you?
Code: Select all
find_package(HDF5 1.8 COMPONENTS C HL REQUIRED)
INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIR})
link_directories(${HDF5_LIBRARIES})
Thorsten
Re: make for CSXCAD failed
Hi
Tried, the error is the same.
It does not pass the test:
Perhaps this is connected with the new version HDF5. (1.8.16)
Pay attention to the search syntax headers and libraries:
* DIRS
Tried, the error is the same.
It does not pass the test:
Code: Select all
CMake Error at /usr/share/cmake-3.6/Modules/FindHDF5.cmake:201 (try_compile):
Unknown extension ".c" for fillet
Pay attention to the search syntax headers and libraries:
Code: Select all
INCLUDE_DIRECTORIES ($ {HDF5_INCLUDE_DIRS})
Re: make for CSXCAD failed
Hurry up with the first message.
Check now in the mute module C \ CXX.
Build successful.
Check now in the mute module C \ CXX.
Build successful.
Code: Select all
find_package(HDF5 1.8 COMPONENTS HL REQUIRED)