后台-插件-广告管理-内容页广告位一(手机)

您现在的位置是:首页 > 新兴行业 > 大数据大数据

FastPlanner编译错误

2021-04-26 15:59:25大数据人已围观

简介提示确少模块 cmake_modules:CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):Could not find a package configuration file provided by “cmake_modules”with any of the following names:cmake_modulesConfig.cmakecmake_modules-

提示确少模块 cmake_modules:

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

cmake_modulesConfig.cmake
cmake_modules-config.cmake

Add the installation prefix of “cmake_modules” to CMAKE_PREFIX_PATH or set
“cmake_modules_DIR” to a directory containing one of the above files. If
“cmake_modules” provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
Fast-Planner/uav_simulator/local_sensing/CMakeLists.txt:66 (find_package)

– Configuring incomplete, errors occurred!
See also “/home/nanorobot/catkin_ws/build/CMakeFiles/CMakeOutput.log”.
See also “/home/nanorobot/catkin_ws/build/CMakeFiles/CMakeError.log”.
Invoking “cmake” failed
在这里插入图片描述
两个方法:

  1. sudo apt-get install ros-melodic-cmake-modules(这里melodic替换为你的ros版本)

  2. cmake_modules 地址 https://github.com/ros/cmake_modules
    不同ros对应版本:在这里插入图片描述
    我的ros版本是melodic,下载0.4-devel版本的。
    然后就是

mkdir build 
cd build 
cmake ..
make .
sudo make install

文章来源:https://blog.csdn.net/qq_39366151/article/details/116081548

Tags:linux  

很赞哦! ()

后台-插件-广告管理-内容页广告位二(手机)

相关文章

后台-插件-广告管理-内容页广告位三(手机)

随机图文

后台-插件-广告管理-内容页广告位四(手机)

文章评论

留言与评论(共有 0 条评论)
   
验证码:

本栏推荐

站点信息

  • 文章统计13614篇文章
  • 浏览统计469次浏览
  • 评论统计1个评论
  • 标签管理标签云
  • 统计数据:统计代码
  • 微信公众号:扫描二维码,关注我们