问题简述:
- Could not find a package configuration file provided by "grid_map_ros" with
any of the following names
问题详述:
-
Could not find a package configuration file provided by "grid_map_ros" with
any of the following names:grid_map_rosConfig.cmake
grid_map_ros-config.cmakeAdd the installation prefix of "grid_map_ros" to CMAKE_PREFIX_PATH or set
"grid_map_ros_DIR" to a directory containing one of the above files. If
"grid_map_ros" provides a separate development package or SDK, be sure it
has been installed.
原因分析:
- 系统中无法定位依赖包:ros-kinetic-grid-map
解决方案:
- 终端执行:
sudo apt install ros-kinetic-grid-map
<总结>:
- 该类问题,同属于ros-kinetic中缺少某些依赖包,且是ros-kinetic中的库,这与出现的"jsk-recognition-msgs"问题一样。因此只需要使用apt安装 <ros版本号(ros-kinetic)+包名> 即可解决依赖问题。
- 注意:需要将缺少的包名称的下横线改为中横线,方可安装。
网友评论