1.在ROS节点重组移植过程中遇到编译错误的问题如下:

CMake Error at rf2o_laser_odometry/CMakeLists.txt:21 (find_package):By not providing "FindMRPT.cmake" in CMAKE_MODULE_PATH this project hasasked CMake to find a package configuration file provided by "MRPT", butCMake did not find one.Could not find a package configuration file provided by "MRPT" with any ofthe following names:MRPTConfig.cmakemrpt-config.cmakeAdd the installation prefix of "MRPT" to CMAKE_PREFIX_PATH or set"MRPT_DIR" to a directory containing one of the above files.  If "MRPT"provides a separate development package or SDK, be sure it has beeninstalled.


通过报错内容来看,缺少"MRPT"

$ sudo apt-get install ros-kinetic-mrpt*
$ sudo apt-get install mrpt-*
$ sudo apt-get install libmrpt-dev

再重新编译。

2.在ROS节点重组移植过程中遇到编译错误的问题如下:

CMake Error at libuvc_ros/libuvc_camera/CMakeLists.txt:9 (find_package):By not providing "Findlibuvc.cmake" in CMAKE_MODULE_PATH this project hasasked CMake to find a package configuration file provided by "libuvc", butCMake did not find one.Could not find a package configuration file provided by "libuvc" with anyof the following names:libuvcConfig.cmakelibuvc-config.cmakeAdd the installation prefix of "libuvc" to CMAKE_PREFIX_PATH or set"libuvc_DIR" to a directory containing one of the above files.  If "libuvc"provides a separate development package or SDK, be sure it has beeninstalled.

解决方法
1.进入你的工作空间
2.检查并安装功能包下的依赖包

rosdep install --from-paths src --ignore-src -r -y

再编译
此方法在解决此类问题有较好效果,上面的问题1也可尝试解决。
rosdep的安装与使用:
https://blog.csdn.net/weixin_45378779/article/details/103617471

asked CMake to find a package configuration file provided by MRPT, but CMake did not find one.相关推荐

  1. Could not find a package,configuration file provided by G2O ,G2OConfig.cmake,g2o-config.cmake

    因为项目需要使用到g2o,所以自己从git上面clone下来, git clone https://github.com/RainerKuemmerle/g2o.git 然后: cd g2o mkdi ...

  2. CMake Error: Could not find a package configuration file provided by “serial“

    CMakeLists.txt中添加了串口的package,如下: find_package(catkin REQUIRED COMPONENTS nav_msgs roscpp rospy seria ...

  3. Could not find a package configuration file provided by “object_recognition_msgs“ with any ...

    错误问题: CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):   Cou ...

  4. Clion配置VS编译器及Qt:Could not find a package configuration file provided by “Qt5“ with any of the follow

    之前一直使用的是MinGW编译环境进行Qt界面的开发,但是由于项目问题,必须将环境转换为visual studio,因此更换了环境以后出现了上面的CMakelist的错误,经过一番搜索以及师兄们的帮助 ...

  5. Could not find a package configuration file provided by “std_msg“ with any of the following names:

    在使用catkin_make编译功能包时,报错如上,尝试以下方法: sudo apt-get install ros-kinetic-std-msgs 失败 解决办法:CMakeLists.txt中的 ...

  6. CMake Error at CMakeLists.txt:4 (find_package): By not providing “FindParaView.cmake“ in CMAKE_MOD

    CMake失败 然后报错的内容是: CMake Error at CMakeLists.txt:4 (find_package): By not providing "FindParaVie ...

  7. CMake Error at CMakeLists.txt:210 (find_package): By not providing “FindCEF.cmake“ in CMAKE_MODULE

    下载了一份libcef源码进行cmake时候发现如下提示 CMake Error at CMakeLists.txt:210 (find_package): By not providing &quo ...

  8. Clion编译Qt项目CMake Error at CMakeLists.txt:11 (find_package): By not providing “FindQt6.cmake“ in CM

    使用Qt Creator写代码,感觉代码补全什么的没有clion好用. 于是使用clion来运行qt项目,却遇到了问题. CMake Error at CMakeLists.txt:11 (find_ ...

  9. CMake Error (find_package):Could not find a package configuration

    ros cmakelists 报错 Could not find a package configuration file provided by "******" with an ...

最新文章

  1. javascript 面向对象编程(工厂模式、构造函数模式、原型模式)
  2. LeetCode-26: 删除排序数组中的重复项
  3. echart关系树状图_Echarts关系图-力引导布局
  4. 10kv开关柜价格_常用变压器、开关柜介绍、厂家联系方式、报价单分享
  5. 通过python切换hosts文件
  6. 中国行政区域经纬度(免费下载)
  7. HTML+CSS+JS实现 ❤️3D旋转魔方图片相册特效❤️
  8. 论文阅读笔记——野外和非侵入性遗传方法评估棕熊种群规模
  9. 《关于长沙.NET技术社区未来发展规划》问卷调查结果公布
  10. 电影评论画像制作(豆瓣肖申克的救赎为例)
  11. 汇编笔记-在屏幕中间分别显示绿色,绿底红色,白底蓝色的字符串“welcome to masm!”
  12. 小雷的冰茶几---3386
  13. Win10 1803版本 哔哩哔哩 无法打开HEVC选项
  14. VuePress构建一个文档管理网站
  15. Windows无法安装信任证书
  16. Mysql创建Create Function
  17. 判断是否为直角三角形
  18. C语言中:的其中一种作用
  19. 基本数据类型python_Python中的基本数据类型
  20. JAVA使用Springboot+MP+VUE+Swagger前后端分离进行微信支付

热门文章

  1. 此主机支持 AMD-V,但 AMD-V 处于禁用状态
  2. 五年前的大厂实习我没有转正,校招进不了大公司就是失败吗?
  3. 通过数据挖掘,我们研究了罗永浩的抖音直播首秀
  4. 数据建模语言IDEF、IDEF1、IDEF1X
  5. 学习java的第15天之 异常
  6. 女生转行IT和汉子要考虑的问题有什么不一样?
  7. 星来客机器人餐厅_日本餐厅推行机器人服务 客人吐槽:视线太恐怖
  8. C++值传递和引用传递的区别
  9. 带“农产品“的发票就能抵扣税款、降低税负?不是的
  10. STM32定时器计时