ros-industrial-attic / reuleaux

GSoC Project for robot reachability
75 stars 56 forks source link

installation problem #52

Closed asaksena1978 closed 5 years ago

asaksena1978 commented 5 years ago

I am using ubunt 16.04, ROS kinetic after installing when catkin_make command is executed I come across following error 5%] Linking CXX shared library /home//crane_plus_ws/devel/lib/libhdf5_dataset.so/usr/bin/ld: cannot find -lhdf5 collect2: error: ld returned 1 exit status reuleaux/map_creator/CMakeFiles/hdf5_dataset.dir/build.make:374: recipe for target '/home//crane_plus_ws/devel/lib/libhdf5_dataset.so' failed make[2]: [/home//crane_plus_ws/devel/lib/libhdf5_dataset.so] Error 1 CMakeFiles/Makefile2:3911: recipe for target 'reuleaux/map_creator/CMakeFiles/hdf5_dataset.dir/all' failed make[1]: [reuleaux/map_creator/CMakeFiles/hdf5_dataset.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j1 -l1" failed

asaksena1978 commented 5 years ago

linked the libraries - now the linking error is not present cd /usr/lib/x86_64-linux-gnu sudo ln -s libhdf5_serial.so.10.1.0 libhdf5.so

sudo ln -s libhdf5_serial_hl.so.10.0.2 libhdf5_hl.so export LIBRARY_PATH=/opt/lib/