CMake Error: Could not find a package configuration file provided by “serial“
CMakeLists.txt中添加了串口的package,如下:
find_package(catkin REQUIRED COMPONENTS nav_msgs roscpp rospy serial tf std_msgs message_generation
geometry_msgs
pcl_conversions
pcl_ros
)add_message_files(FILESPoseMessage.msgencoder.msg
)generate_messages(DEPENDENCIESstd_msgsgeometry_msgs
)catkin_package(CATKIN_DEPENDS roscpp rospy serial std_msgs message_runtime)
其中在find_package和catkin_package中的serial就是添加的串口包,然后报错如下:
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):Could not find a package configuration file provided by "serial" with anyof the following names:serialConfig.cmakeserial-config.cmakeAdd the installation prefix of "serial" to CMAKE_PREFIX_PATH or set"serial_DIR" to a directory containing one of the above files. If "serial"provides a separate development package or SDK, be sure it has beeninstalled.
Call Stack (most recent call first):gazebo_mobile_manipulator/CMakeLists.txt:8 (find_package)-- Configuring incomplete, errors occurred!
See also "/home/ati/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ati/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:1272: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
解决方法很简单,把对应版本的ROS serial包装上就好了:
sudo apt install ros-melodic-serial
具体ROS版本根据实际情况变换。
CMake Error: Could not find a package configuration file provided by “serial“相关推荐
- 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 “object_recognition_msgs“ with any ...
错误问题: CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Cou ...
- CMake Error (find_package):Could not find a package configuration
ros cmakelists 报错 Could not find a package configuration file provided by "******" with an ...
- 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 ...
- 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 n ...
- 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中的 ...
- Error:npm WARN enoent ENOENT: no such file or directory, open ‘C:\Users\XX\package.json‘son‘
Error:npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\XX\package.json'son' 报错如下 解决 ...
- Flink 报错:unable to generate a JAAS configuration file
安装 Flink 报错:unable to generate a JAAS configuration file 原因是Flink的存放临时文件的地方,默认是 tmp/,例如我的是/data/flin ...
- CMake Error:Found unsuitable Qt version “5.14.2“ from D:\, this code requires Qt 4.x
使用 Cmake 编译安装 VTK-7.1.1 时抛出错误: 意为 QT 版本不合适,因为我使用的是 QT5 ,因此,在 Cmake 里面找到版本控制,将之修改便可. CMake Error at D ...
最新文章
- 2022-2028年中国废矿物油行业市场研究及前瞻分析报告
- k均值聚类算法考试例题_K-均值聚类法实例解析
- 信息保真度准则_设计保真度的新的非科学公式
- java设计模式 订阅模式_Java中的外观设计模式
- ios 简书 获取通讯录信息_iOS-授权获取通讯录
- mysql md 123456_MySQL修炼之路四
- GetLastError错误码
- 30个银行的logo
- python安装失败0x80240017
- 记录——折腾 黑苹果
- 简单说说 RPC 框架,你 悟到了吗?
- 联想拯救者Y7000,电源键一直红灯。还以为电池出问题了,其实....
- 怎么在word文档里面的方框里打勾?
- 自控力读书笔记 第九章	 别读这章:“我不要”力量的局限性
- 无法将您的Kindle连接到Wi-Fi网络怎么办-kindle无法连接wifi-kindle无法连接手机热点
- 如何区分黑体 、宋体和圆体
- 每日一个Linux命令之mv命令
- 历史著作《万历十五年》的优秀读后感范文3200字
- 最新抖音无水印解析PHP源码
- 数学教育与计算机教育的新讲座的心得体会,数学新课程培训心得体会(精选7篇)...