ego-planner编译过程中报错:
– Could NOT find pcl_ros (missing: pcl_ros_DIR)
– 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/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/zp/catkin_ws/ego-planner-swarm-master/build/CMakeFil

在尝试编译ego-planner时遇到了错误:找不到pcl_ros包。错误提示表明需要安装或配置环境以找到该组件。解决方案是通过运行sudo apt-get install ros-melodic-pcl-ros命令来安装对应的ROS版本的pcl_ros包。如果你使用的是不同版本的ROS,如kinetic,应相应地替换命令中的melodic。确保正确安装并配置了所需包后,编译问题即可解决。
最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



