System Config: Ubuntu 14.04 and ROS Indigo
As mentioned here, http://answers.ros.org/question/226594/how-do-i-build-ros-vlp16-velodyne-driver-for-indigo-using-catkin/ I have followed those steps to install ROS drivers from Velodyne to work with VLP 16.
However, when i run
catkin_make
I get the following errors
[ 61%] Built target ringcolors_node
[ 63%] Linking CXX shared library /home/iirav/catkin_ws/devel/lib/libvelodyne_rawdata.so
[ 70%] Built target ringcolors_nodelet
/usr/bin/ld: /usr/local/lib/libyaml-cpp.a(conversion.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libyaml-cpp.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [/home/iirav/catkin_ws/devel/lib/libvelodyne_rawdata.so] Error 1
make[1]: *** [velodyne/velodyne_pointcloud/src/lib/CMakeFiles/velodyne_rawdata.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
Any suggestions pls ?
Originally posted by sai on ROS Answers with karma: 1935 on 2017-04-27
Post score: 0