Robotics StackExchange | Archived questions

collision_detecion_bullet can't find octomap_msgs header file

colcon build moveit2 and octomapmsgs from source. the octomapmsgs conversions.h have been exited, but output error

~/workspace/ros-tools/moveit2ws/install/octomapmsgs/include/octomap_msgs: ll
-rw-r--r-- 1 dongchan dongchan 7.5K Jul 29 17:27 conversions.h

--- stderr: moveitcore
In file included from /workspace/ros-tools/moveit2
ws/src/moveit2/moveitcore/collisiondetectionbullet/src/bulletintegration/rosbulletutils.cpp:34: /workspace/ros-tools/moveit2ws/src/moveit2/moveitcore/collisiondetectionbullet/include/moveit/collisiondetectionbullet/bulletintegration/rosbulletutils.h:25:10: **fatal error: octomapmsgs/conversions.h: No such file or directory** 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [collisiondetectionbullet/CMakeFiles/moveitcollisiondetectionbullet.dir/build.make:160: collisiondetectionbullet/CMakeFiles/moveitcollisiondetectionbullet.dir/src/bulletintegration/rosbulletutils.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... In file included from /workspace/ros-tools/moveit2ws/src/moveit2/moveitcore/collisiondetectionbullet/src/collisionenvbullet.cpp:39: /workspace/ros-tools/moveit2ws/src/moveit2/moveitcore/collisiondetectionbullet/include/moveit/collisiondetectionbullet/bulletintegration/rosbulletutils.h:25:10: fatal error: octomapmsgs/conversions.h: No such file or directory 25 | #include <octomapmsgs/conversions.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [collisiondetectionbullet/CMakeFiles/moveitcollisiondetectionbullet.dir/build.make:118: collisiondetectionbullet/CMakeFiles/moveitcollisiondetectionbullet.dir/src/collisionenvbullet.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:2216: collisiondetectionbullet/CMakeFiles/moveitcollisiondetection_bullet.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs....

gmake: *** [Makefile:146: all] Error 2

Failed <<< moveit_core [33.2s, exited with code 2]

Can everyone help me resolve the issue?

Asked by Dongchan Year on 2022-07-29 10:19:24 UTC

Comments

Answers