install ros-indigo-map-msgs

CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "map_msgs" with any
  of the following names:

    map_msgsConfig.cmake
    map_msgs-config.cmake

  Add the installation prefix of "map_msgs" to CMAKE_PREFIX_PATH or set
  "map_msgs_DIR" to a directory containing one of the above files.  If
  "map_msgs" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  bp_costmap/CMakeLists.txt:4 (find_package)


-- Could not find the required component 'map_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "map_msgs" with any
  of the following names:

    map_msgsConfig.cmake
    map_msgs-config.cmake

  Add the installation prefix of "map_msgs" to CMAKE_PREFIX_PATH or set
  "map_msgs_DIR" to a directory containing one of the above files.  If
  "map_msgs" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  bp_costmap/CMakeLists.txt:4 (find_package)
sudo apt-get install ros-indigo-map-msgs
原文地址:https://www.cnblogs.com/sea-stream/p/10064854.html