asked CMake to find a package configuration file provided by MRPT, but CMake did not find one.
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.相关推荐
- 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 ...
- 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 ...
- 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 ...
- Clion配置VS编译器及Qt:Could not find a package configuration file provided by “Qt5“ with any of the follow
之前一直使用的是MinGW编译环境进行Qt界面的开发,但是由于项目问题,必须将环境转换为visual studio,因此更换了环境以后出现了上面的CMakelist的错误,经过一番搜索以及师兄们的帮助 ...
- 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中的 ...
- 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 ...
- 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 ...
- 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_ ...
- CMake Error (find_package):Could not find a package configuration
ros cmakelists 报错 Could not find a package configuration file provided by "******" with an ...
最新文章
- javascript 面向对象编程(工厂模式、构造函数模式、原型模式)
- LeetCode-26: 删除排序数组中的重复项
- echart关系树状图_Echarts关系图-力引导布局
- 10kv开关柜价格_常用变压器、开关柜介绍、厂家联系方式、报价单分享
- 通过python切换hosts文件
- 中国行政区域经纬度(免费下载)
- HTML+CSS+JS实现 ❤️3D旋转魔方图片相册特效❤️
- 论文阅读笔记——野外和非侵入性遗传方法评估棕熊种群规模
- 《关于长沙.NET技术社区未来发展规划》问卷调查结果公布
- 电影评论画像制作(豆瓣肖申克的救赎为例)
- 汇编笔记-在屏幕中间分别显示绿色,绿底红色,白底蓝色的字符串“welcome to masm!”
- 小雷的冰茶几---3386
- Win10 1803版本 哔哩哔哩 无法打开HEVC选项
- VuePress构建一个文档管理网站
- Windows无法安装信任证书
- Mysql创建Create Function
- 判断是否为直角三角形
- C语言中:的其中一种作用
- 基本数据类型python_Python中的基本数据类型
- JAVA使用Springboot+MP+VUE+Swagger前后端分离进行微信支付