当前位置: 首页 > article >正文

编译报错pcl_conversions、及pcl_rosConfig解决方法

1、报错1

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

    pcl_conversionsConfig.cmake
    pcl_conversions-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/labh/Fast-Drone-250-master/build/CMakeFiles/CMakeOutput.log".
See also "/home/labh/Fast-Drone-250-master/build/CMakeFiles/CMakeError.log".
Makefile:3932: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

解决方法:

sudo apt-get install ros-melodic-pcl-conversions

2、报错2

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

    pcl_rosConfig.cmake
    pcl_ros-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/labh/Fast-Drone-250-master/build/CMakeFiles/CMakeOutput.log".
See also "/home/labh/Fast-Drone-250-master/build/CMakeFiles/CMakeError.log".
Makefile:3932: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

解决方法:

sudo apt-get install ros-melodic-pcl-ros


http://www.kler.cn/a/6243.html

相关文章:

  • Python调用Elasticsearch更新数据库
  • Windows Powershell实战指南(未完成)
  • 双指针——查找总价格为目标值的两个商品
  • 详细对比JS中XMLHttpRequest和fetch的使用
  • 【ES6复习笔记】解构赋值(2)
  • upload-labs关卡记录12
  • 位图和布隆过滤器
  • 4.3---Spring框架之Spring中bean的注入方式---(深入版本)
  • 免费CDN-CloudFlare的使用教程
  • STM32个人笔记-I2S
  • Git操作之 git add 撤销、git commit 撤销
  • 原神服务器架设教程(服务器命令代码)
  • C++相关面试题总结一——内存、关键字、STL、指针、排序、Lambda
  • 【iOS】—— 类和对象底层探索
  • SpringBoot国际化配置
  • 通过 NFTScan 追踪 NFT 钻石手持仓
  • mysql binlog 一直追加写,磁盘满了怎么办?
  • Win11启用IE方法
  • 超详细WindowsJDK1.8与JDK11版本切换教程
  • PCB模块化设计11——VGA高速PCB布局布线设计规范
  • nanovg绘图库的编译与使用
  • 【Python】数据容器--列表常用方法
  • 23种Java设计模式知识要点
  • (1)深入解析图像字幕生成数据集———Coco dataset
  • Scala的数组,元组,列表,集,映射(Map),迭代器(iterator)
  • LC-831. 隐藏个人信息(字符串模拟)