我正在尝试在rviz中使用MongoDB。因此,我尝试在对warehouse_ros_mongo执行git-clone之后编译~/catkin_ws/src folder。然而,CMake让任何知道如何修复它的人都失望了。否则,可以推荐一个与ROS一起使用的软件包,以便连接MongoDB并与rviz/moveit进行交互。
编译时遇到错误:
CMake Error at /home/zelix/catkin_ws/devel/share/warehouse_ros/cmake/warehouse_rosConfig.cmake:113 (message): Project 'warehouse_ros' specifies '/home/zelix/catkin_ws/src/warehouse_ros/include' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/home/zelix/catkin_ws/src/warehouse_ros//home/zelix/catkin_ws/src/warehouse_ros/include'. Check the website 'http://ros.org/wiki/warehouse_ros' for information and consider reporting the problem. Call Stack (most recent call first): /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package) warehouse_ros_mongo/CMakeLists.txt:15 (find_package)
-- Configuring incomplete, errors occurred! See also "/home/zelix/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/zelix/catkin_ws/build/CMakeFiles/CMakeError.log".发布于 2021-09-09 11:40:59
包中缺少包含目录。
执行mkdir /home/zelix/catkin_ws/src/warehouse_ros/include
https://stackoverflow.com/questions/69115594
复制相似问题