激光Loam程序,编译时报错
-- Could not find the required component 'pcl_conversions'. 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_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):
loam_velodyne-master/CMakeLists.txt:4 (find_package)
其中错误信息为
Could not find a package configuration file provided by "pcl_conversions"
with any of the following names:
解决方法就是手动安装pcl_conversions
在新的终端中输入下面的代码
sudo apt-get install ros-kinetic-navigation