CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):

2023-05-16

出现了这样的情况的话如:

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "octomap_ros" with
  any of the following names:

    octomap_rosConfig.cmake
    octomap_ros-config.cmake

  Add the installation prefix of "octomap_ros" to CMAKE_PREFIX_PATH or set
  "octomap_ros_DIR" to a directory containing one of the above files.  If
  "octomap_ros" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  octomap_mapping/octomap_server/CMakeLists.txt:19 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/zdj/octomap/octomap_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/zdj/octomap/octomap_ws/build/CMakeFiles/CMakeError.log".
Makefile:320: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed;

看完框住的
看我框住的,就是你缺少的,所以用

//octomap_ros是我们缺少的,但是我们要把_改成-;
sudo apt-get install ros-kinetic-octomap-ros

在这里插入图片描述
接着安装就欧克拉,然后接着catkin_make
在这里插入图片描述

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): 的相关文章

随机推荐