Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
amartyadash opened this issue Sep 20, 2020 · 1 comment
Labels

Comments

@amartyadash
Copy link
Contributor

Getting the following error while building the workspace:

CMake Error at /opt/ros/melodic/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:4 (find_package)
@amartyadash
Copy link
Contributor Author

Here Geographic msgs is missing and it is included with ros-melodic-mavros, ros-melodic-mavros-extras.

sudo apt-get install ros-melodic-mavros ros-melodic-mavros-extras

Also run the geographic lib script

wget https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh
./install_geographiclib_datasets.sh

Take a look at the docs for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants