octomap相关问题

在尝试编译octomap、octomap_msgs和octomap_ros时遇到问题。octomap能够成功编译,但octomap_msgs在cmake阶段成功,make时出现找不到包配置文件的警告。解决方法是将octomap_msgs的安装路径添加到CMAKE_PREFIX_PATH或设置octomap_msgs_DIR。对于octomap_ros,同样存在找不到包配置文件的问题,解决方案是将octomap_msgs/build/devel/share/octomap_msgs复制到ROS的share目录中。在其他问题中,还遇到了找不到octomap配置文件的错误,通过设置octomap_DIR为/usr/local/share/octomap解决了此问题。
摘要由CSDN通过智能技术生成

1.下载编译octomap、octomap_msgs、octomap_ros。

地址:https://github.com/OctoMap

cmake、make步骤按照流程走。

2.octomap能编译成功,octomap_msgs的cmake成功,make成功。octomap_ros的cmake报错:

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

    octomap_msgsConfig.cmake
    octomap_msgs-config.cmake

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


-- Could not find the required compo

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值