今天爱分享给大家带来CMake error with move_base_msgs报错【解决办法】,希望能够帮助到大家。
在ROS-SLAM navigation模块的学习过程中,编译程序过程中报错,如下:
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by "move_base_msgs"
with any of the following names:
move_base_msgsConfig.cmake
move_base_msgs-config.cmake
Add the installation prefix of "move_base_msgs" to CMAKE_PREFIX_PATH or set
"move_base_msgs_DIR" to a directory containing one of the above files. If
"move_base_msgs" provides a separate development package or SDK, be sure it
has been installed.
打开一个新的终端,输入
rospack find move_base_msgs
缺啥补啥,查询了要安装的包,开始安装,继续输入指令:
sudo apt-get install ros-kinetic-navigation
原文链接:https://itblood.website/906.html,转载请注明出处。

![2990年的回声Ch.1 AI版[PC+安卓/3.78G/更新]Echoes of 2990 [Ch.1] [欧美SLG/汉化/动态]](/wp-content/uploads/replace/2025/07/19/c2867e3be50a5cb4ed28840ffb369b6f.webp)