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

Building humble branch failed: Could not find a package configuration file provided by "gps_msgs" with any of the following names: gps_msgsConfig.cmake gps_msgs-config.cmake #83

Open
Erika1kuta opened this issue Jan 17, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Erika1kuta
Copy link

Describe the bug
I built the humble branch and encountered this issue, which indicates that I lack gps_msgs, is this a dependency? Do I need additional installation or a bug in my system? Because I am using Ubuntu 20 Focal (not Jammy, because I also need ROS 1 on my PC), Humble is built from the source code. Looking forward to your reply. Many thanks.

~/rwth/src/novatel_oem7_driver$ ./build.sh -f
Starting >>> novatel_oem7_msgs
Finished <<< novatel_oem7_msgs [21.2s]                       
Starting >>> novatel_oem7_driver
--- stderr: novatel_oem7_driver                          
CMake Error at CMakeLists.txt:14 (find_package):
  By not providing "Findgps_msgs.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "gps_msgs",
  but CMake did not find one.

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

    gps_msgsConfig.cmake
    gps_msgs-config.cmake

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


---
Failed   <<< novatel_oem7_driver [3.16s, exited with code 1]
                                 
Summary: 1 package finished [25.5s]
  1 package failed: novatel_oem7_driver
  1 package had stderr output: novatel_oem7_driver

Environment (please complete the following information):
Ubuntu 20 Focal
ROS: Humble

@Erika1kuta Erika1kuta added the bug Something isn't working label Jan 17, 2024
@MortezaAliyari
Copy link

@Erika1kuta
I had the same issue and by Installing binary package the gps_msg will be added.
sudo apt install ros-humble-novatel-oem7-driver
then build again.

@novatel-applications-engineering
Copy link
Contributor

Hello @Erika1kuta, thank you for your question.

As I notice from your terminal, you are missing the gps_msgs package which is a dependency for our driver.
Please try installing the binary package for our driver first and then build it again.

To install binary package : sudo apt install ros-humble-novatel-oem7-driver

Feel free to reach out to us if you have further questions or concerns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants