-- Could not find the required component 'pcl_ros'. The following CMake error indicates that you either

安装雷达驱动过程中遇到的问题,走一步坑一步

~/robosense$ catkin_make
Base path: /home/leo2/robosense
Source space: /home/leo2/robosense/src
Build space: /home/leo2/robosense/build
Devel space: /home/leo2/robosense/devel
Install space: /home/leo2/robosense/install
####
#### Running command: "cmake /home/leo2/robosense/src -DCATKIN_DEVEL_PREFIX=/home/leo2/robosense/devel -DCMAKE_INSTALL_PREFIX=/home/leo2/robosense/install -G Unix Makefiles" in "/home/leo2/robosense/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/leo2/robosense/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/leo2/robosense/build/test_results
-- Found gmock sources under ‘/usr/src/gmock‘: gmock will be built
-- Found gtest sources under ‘/usr/src/gmock‘: gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.18
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 5 packages in topological order:
-- ~~  - rslidar (metapackage)
-- ~~  - rslidar_msgs
-- ~~  - rslidar_driver
-- ~~  - rslidar_pointcloud
-- ~~  - rslidar_rangeimage
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: ‘rslidar‘
-- ==> add_subdirectory(ros_rslidar_robosense/rslidar)
-- +++ processing catkin package: ‘rslidar_msgs‘
-- ==> add_subdirectory(ros_rslidar_robosense/rslidar_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- rslidar_msgs: 2 messages, 0 services
-- +++ processing catkin package: ‘rslidar_driver‘
-- ==> add_subdirectory(ros_rslidar_robosense/rslidar_driver)
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (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):
  ros_rslidar_robosense/rslidar_driver/CMakeLists.txt:24 (find_package)

-- Could not find the required component ‘pcl_ros‘. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/kinetic/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):
  ros_rslidar_robosense/rslidar_driver/CMakeLists.txt:24 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/leo2/robosense/build/CMakeFiles/CMakeOutput.log".
See also "/home/leo2/robosense/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

解决方式:

大师兄路过,随手就给我弄了sudo apt-get install ros-kinetic-pcl-ros

完事。。。。

-- Could not find the required component 'pcl_ros'. The following CMake error indicates that you either

原文地址:https://www.cnblogs.com/Lei-HongweiNO11/p/12005172.html

时间: 2024-11-10 15:56:23

-- Could not find the required component 'pcl_ros'. The following CMake error indicates that you either的相关文章

Action Required: Listings Deactivated for Potential Pricing Error

Dear Seller, We are contacting you because we have detected potential pricing errors in your Amazon.com product listings. To avoid a potentially negative customer experience caused by mispriced items, we have deactivated these listings. These deactiv

工程问题--ubuntu 14.04/16.04源码安装catvehicle

ubuntu 14.04/16.04源码安装catvehicle 系统环境: 1. Ubuntu 14.04 + ROS Indigo 或者 Ubuntu 16.04 + ROS kinetic(主要) 2. Gazebo模型已经下载完成. 未下载的可以参考:https://blog.csdn.net/qq_40213457/article/details/81021562 中的方法2. 安装步骤: 1. 建立工作空间: 1 cd ~ 2 mkdir -p catvehicle_ws/src 3

GI OPatch升级 The opatch Component check failed. This patch is not applicable for...

Oracle11gr2RAC(11204)打补丁11.2.0.4.8,系统为:SuSE11sp3 X86_64 通过/u01/app/11.2.0/grid/OPatch/opatch auto /tmp/21523375 -ocmrf /tmp/ocm.rsp 同时对ORACLE_HOME,GI_HOME同时升级.出现如下报错: jason1:/u01/app/11.2.0/grid/OPatch # /u01/app/11.2.0/grid/OPatch/opatch auto /tmp/2

Redis (error) NOAUTH Authentication required.解决方法

出现认证问题,应该是设置了认证密码,输入密码既可以啦 注意密码是字符串形式! [plain] view plain copy 127.0.0.1:6379> auth "yourpassword" 例如密码是'root',当出现认证问题时候,输入"auth 'root'"即可 [plain] view plain copy 127.0.0.1:6379> set name "hello" (error) NOAUTH Authenti

java性能监控工具jstat-linux

jstat Monitors Java Virtual Machine (JVM) statistics. This command is experimental and unsupported. Synopsis jstat [ generalOption | outputOptions vmid [ interval[s|ms] [ count ] ] generalOption A single general command-line option -help or -options.

cmake

前言cmake 已经开发了 5,6 年的时间,如果没有 KDE4,也许不会有人或者 Linux 发行版本重视cmake,因为除了 Kitware 似乎没有人使用它.通过 KDE4 的选型和开发,cmake 逐渐进入了人们的视线,在实际的使用过程中,cmake 的优势也逐渐的被大家所认识,至少 KDE 的开发者们给予了 cmake极高的评价,同时庞大的 KDE 项目使用 cmake 来作为构建工具也证明了 cmake 的可用性和大项目管理能力.所以,cmake 应该感谢 KDE,也正因为如此,cm

java性能监控工具jstat

jstat Monitors Java Virtual Machine (JVM) statistics. This command is experimental and unsupported. Synopsis jstat [ generalOption | outputOptions vmid [ interval[s|ms] [ count ] ] generalOption A single general command-line option -help or -options.

Oracle 12cR2 RAC安装配置及一些坑

Oracle 12cR2版本已经发布有一段时间,一直想测试安装RAC,从上周末到今天用了两个周末和今天一天的时间终于把RAC安装成功了.这里记录了安装时对操作系统的配置,以及安装过程中遇到的一些坑. 1.首先是操作系统的选择问题,Oracle现在认证的操作系统及内核版本如下: Oracle Linux 7: Oracle Linux 7 with the Unbreakable Enterprise kernel 3:3.8.13-35.3.1.el7uek.x86_64 or later Or

UML - Basic Notations

UML is popular for its diagrammatic notations. We all know that UML is for visualizing, specifying, constructing and documenting the components of software and non software systems. Here the Visualization is the most important part which needs to be