KumarRobotics / ublox

A driver for ublox gps
BSD 3-Clause "New" or "Revised" License
453 stars 390 forks source link

CMake Error: Could not find a package configuration file provided by "rtcm_msgs" #257

Closed WangJitaoNAV closed 1 week ago

WangJitaoNAV commented 1 week ago

I encountered a CMake error while compiling the source code:

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

    rtcm_msgsConfig.cmake
    rtcm_msgs-config.cmake

  Add the installation prefix of "rtcm_msgs" to CMAKE_PREFIX_PATH or set
  "rtcm_msgs_DIR" to a directory containing one of the above files.  If
  "rtcm_msgs" provides a separate development package or SDK, be sure it has
  been installed.

I found it could be fixed by install "rtcm_msgs" package:

sudo apt-get install ros-${ROS_DISTRO}-rtcm-msgs