ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I was able to solve the problem by simply adding this line to CMakeLists.txt
above the find_package
:
FIND_LIBRARY(HDF5_LIBRARY hdf5 /usr/local/hdf5/lib/)
Also, it's better to install hdf5 by compiling the source code. Initially I tried doing it from the repository but it said that the library was already installed even though it wasn't.
2 | No.2 Revision |
I was able to solve the problem by simply adding this line to CMakeLists.txt
above the find_package
:
FIND_LIBRARY(HDF5_LIBRARY hdf5 /usr/local/hdf5/lib/)
and then after creating the executable:
target_link_libraries(test_node ${CATKIN_LIBRARIES} ${HDF5_LIBRARY}})
Also, it's better to install hdf5 by compiling the source code. Initially I tried doing it from the repository but it said that the library was already installed even though it wasn't.