环境:
虚拟机VMware
Ubuntu18.04
ROS:Melodic
根据官方指导教程安装rtabmap_ros:
cd ~/catkin_ws
git clone https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
catkin_make
出现问题如下:
CMake Error at /opt/ros/melodic/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
file problem creating directory:
/home/zcj/catkin_ws/devel/include/rtabmap_ros
Call Stack (most recent call first):
/opt/ros/melodic/share/gencpp/cmake/gencpp-extras.cmake:51 (_generate_msg_cpp)
/home/zcj/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:264 (_generate_srv_cpp)
/opt/ros/melodic/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
rtabmap_ros/CMakeLists.txt:104 (generate_messages)
-- WITH octomap_msgs
-- WITH find_object_2d
-- WITH rviz
-- WITH costmap_2d
-- Configuring incomplete, errors occurred!
See also "/home/zcj/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/zcj/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile