ros-industrial-consortium / descartes_tutorials

Repository for tutorials and training associated with the Descartes Cartesian path planning library.
Apache License 2.0
25 stars 25 forks source link

Compile failure on ros Melodic #22

Closed MattiaDeiRossi closed 2 years ago

MattiaDeiRossi commented 3 years ago

Goodmornig,

I've tried to compile descartes_tutorials pkg inside my workspace, where there's descartes planner already compiled successfully https://github.com/ros-industrial-consortium/descartes.git

"catkin build" command show me these errors:

Errors << descartes_tutorials:make /home/progettista3u/elite_ws/logs/descartes_tutorials/build.make.004.log /usr/bin/ld: warning: libmoveit_robot_model.so.1.0.8, needed by //opt/ros/melodic/lib/libmoveit_robot_model_loader.so.1.0.8, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmoveit_profiler.so.1.0.8, needed by //opt/ros/melodic/lib/libmoveit_robot_model_loader.so.1.0.8, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmoveit_kinematics_base.so.1.0.8, needed by //opt/ros/melodic/lib/libmoveit_kinematics_plugin_loader.so.1.0.8, not found (try using -rpath or -rpath-link) //opt/ros/melodic/lib/libmoveit_kinematics_plugin_loader.so.1.0.8: riferimento non definito a "kinematics::KinematicsBase::DEFAULT_SEARCH_DISCRETIZATION" //opt/ros/melodic/lib/libmoveit_kinematics_plugin_loader.so.1.0.8: riferimento non definito a "typeinfo for kinematics::KinematicsBase" collect2: error: ld returned 1 exit status make[2]: *** [/home/progettista3u/elite_ws/devel/.private/descartes_tutorials/lib/descartes_tutorials/tutorial1] Error 1 make[1]: *** [CMakeFiles/descartes_tutorials_tutorial1.dir/all] Error 2 make[1]: *** Attesa per i processi non terminati.... /usr/bin/ld: warning: libmoveit_robot_model.so.1.0.8, needed by //opt/ros/melodic/lib/libmoveit_robot_model_loader.so.1.0.8, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmoveit_profiler.so.1.0.8, needed by //opt/ros/melodic/lib/libmoveit_robot_model_loader.so.1.0.8, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmoveit_kinematics_base.so.1.0.8, needed by //opt/ros/melodic/lib/libmoveit_kinematics_plugin_loader.so.1.0.8, not found (try using -rpath or -rpath-link) //opt/ros/melodic/lib/libmoveit_kinematics_plugin_loader.so.1.0.8: riferimento non definito a "kinematics::KinematicsBase::DEFAULT_SEARCH_DISCRETIZATION" //opt/ros/melodic/lib/libmoveit_kinematics_plugin_loader.so.1.0.8: riferimento non definito a "typeinfo for kinematics::KinematicsBase" collect2: error: ld returned 1 exit status make[2]: *** [/home/progettista3u/elite_ws/devel/.private/descartes_tutorials/lib/descartes_tutorials/tutorial2] Error 1 make[1]: *** [CMakeFiles/descartes_tutorials_tutorial2.dir/all] Error 2 make: *** [all] Error 2 cd /home/progettista3u/elite_ws/build/descartes_tutorials; catkin build --get-env descartes_tutorials | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd - .......................................................................... Failed << descartes_tutorials:make [ Exited with code 2 ] Failed <<< descartes_tutorials [ 11.0 seconds ] [build] Summary: 19 of 20 packages succeeded. [build] Ignored: 2 packages were skipped or are blacklisted. [build] Warnings: None. [build] Abandoned: None. [build] Failed: 1 packages failed. [build] Runtime: 12.6 seconds total.

Have you got any suggestions about that? Thank you for your help Best regards