美文网首页
catkin_make编译问题:Could not find a

catkin_make编译问题:Could not find a

作者: Root_9527 | 来源:发表于2019-07-08 13:34 被阅读0次

    问题简述:

    • 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

    相关文章

      网友评论

          本文标题:catkin_make编译问题:Could not find a

          本文链接:https://www.haomeiwen.com/subject/ppyohctx.html