ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

xsense ros kinetic package error-/usr/bin/ld: cannot find

asked 2020-08-06 01:46:33 -0600

bfdmetu gravatar image

updated 2020-08-06 04:55:06 -0600

gvdhoorn gravatar image

Hi. I am trying to install xsens mti 3 imu driver. When i do catkin make , i get an error

[ 30%] Built target robot_pose_ekf_generate_messages_nodejs
[ 31%] Built target robot_pose_ekf_generate_messages_cpp
[ 34%] Built target amcl_sensors
/usr/bin/ld: cannot find -lxscontroller
/usr/bin/ld: cannot find -lxscommon
/usr/bin/ld: cannot find -lxstypes
collect2: error: ld returned 1 exit status
xsens_ros_mti_driver-master/CMakeFiles/xsens_mti_node.dir/build.make:169: recipe for target '/home/bfd/catkin_opt/devel/lib/xsens_mti_driver/xsens_mti_node' failed
make[2]: *** [/home/bfd/catkin_opt/devel/lib/xsens_mti_driver/xsens_mti_node] Error 1
CMakeFiles/Makefile2:13711: recipe for target 'xsens_ros_mti_driver-master/CMakeFiles/xsens_mti_node.dir/all' failed
make[1]: *** [xsens_ros_mti_driver-master/CMakeFiles/xsens_mti_node.dir/all] Error 2

These folders(xscontroller-xscommon-xstypes) are in xsens package but bin/ld can not find ?ow can we solve that ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-08-07 14:19:35 -0600

gogrady gravatar image

Check out the README in the package. it has some instructions.

Make sure the permissions are set to o+rw on your files and directories.

sudo chmod -R o+rw xsens_ros_mti_driver *

then build xspublic from your catkin workspace:

pushd src/xsens_ros_mti_driver/lib/xspublic && make && popd

after that run your catkin_make and it should work!

edit flag offensive delete link more

Comments

It works. Thanks

bfdmetu gravatar image bfdmetu  ( 2020-08-07 23:41:20 -0600 )edit

Question Tools

Stats

Asked: 2020-08-06 01:46:33 -0600

Seen: 1,139 times

Last updated: Aug 07 '20