catkin_make编译问题:Could not find a package configuration file provided by "grid_map_ros" with any...

问题简述:

  • 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.cmake

    Add 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)+包名> 即可解决依赖问题。
  • 注意:需要将缺少的包名称的下横线改为中横线,方可安装。

参考:

1. http://www.voidcn.com/article/p-orbavcfz-bpd.html

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容