Could not find a package configuration file provided by "geographic_msgs"

报错1 :

Errors     << realm_rviz_plugin:cmake /home/yk/catkin_ws/logs/realm_rviz_plugin/build.cmake.004.log
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "geographic_msgs"
  with any of the following names:

    geographic_msgsConfig.cmake
    geographic_msgs-config.cmake

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


CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "geographic_msgs"
  with any of the following names:

    geographic_msgsConfig.cmake
    geographic_msgs-config.cmake

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


cd /home/yk/catkin_ws/build/realm_rviz_plugin; catkin build --get-env realm_rviz_plugin | catkin env -si  /usr/bin/cmake /home/yk/catkin_ws/src/OpenREALM/realm_rviz_plugin --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/yk/catkin_ws/devel/.private/realm_rviz_plugin -DCMAKE_INSTALL_PREFIX=/home/yk/catkin_ws/install -DCMAKE_BUILD_TYPE=Release; cd -

解决方案:

ros-kinetic版本:sudo apt-get install ros-kinetic-geographic-msgs
ros-melodic版本:sudo apt-get install ros-melodic-geographic-msgs

报错2:

 Could not find a package configuration file provided by "geodesy" with any
  of the following names:

    geodesyConfig.cmake
    geodesy-config.cmake

解决方案:

ros-kinetic版本:sudo apt-get install ros-kinetic-geodesy
  • 2
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值