问题描述
catkin_make编译出错
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "tf2_sensor_msgs"
with any of the following names:
tf2_sensor_msgsConfig.cmake
tf2_sensor_msgs-config.cmake
Add the installation prefix of "tf2_sensor_msgs" to CMAKE_PREFIX_PATH or
set "tf2_sensor_msgs_DIR" to a directory containing one of the above files.
If "tf2_sensor_msgs" provides a separate development package or SDK, be
sure it has been installed.
Call Stack (most recent call first):
pointcloud_to_laserscan-lunar-devel/CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/robot/robot_ws1/build/CMakeFiles/CMakeOutput.log".
See also "/home/robot/robot_ws1/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed