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 "geometry_mags"
with any of the following names:
geometry_magsConfig.cmake
geometry_mags-config.cmake
Add the installation prefix of "geometry_mags" to CMAKE_PREFIX_PATH or set
"geometry_mags_DIR" to a directory containing one of the above files. If
"geometry_mags" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
learning_topic/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/yjr/catkin-ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/yjr/catkin-ws/build/CMakeFiles/CMakeError.log".
Makefile:320: 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-geometry_mags下载后,报错任然会出现!!!
第三方账号登入
QQ 微博 微信