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 pkg-config information for ignition-tools #23

Closed
chapulina opened this issue Aug 4, 2020 · 1 comment
Closed

Could not find pkg-config information for ignition-tools #23

chapulina opened this issue Aug 4, 2020 · 1 comment
Assignees
Labels
📜 blueprint Ignition Blueprint bug Something isn't working 🏰 citadel Ignition Citadel 🔮 dome Ignition Dome

Comments

@chapulina
Copy link
Contributor

When doing a ign_find_package(ignition-tools REQUIRED) call, we get:

CMake Warning (dev) at /home/chapulina/blueprint_ws/install/share/cmake/ignition-cmake2/cmake2/IgnUtils.cmake:378 (message):
   -- THIS MESSAGE IS INTENDED FOR IGNITION-LAUNCH AUTHORS --
      (IF YOU SEE THIS, PLEASE REPORT IT)
                                                                      
  Could not find pkg-config information for ignition-tools.  It was not      
  provided by the find-module for the package, nor was it explicitly passed
  into the call to ign_find_package(~).  This is most likely an error in this                                                     
  project's use of ign-cmake.                                                         
Call Stack (most recent call first):                                                                                       
  CMakeLists.txt:50 (ign_find_package)                                                                     
This warning is for project developers.  Use -Wno-dev to suppress it.

Note that this warning is not shown if finding QUIETly.

@chapulina chapulina added bug Something isn't working 📜 blueprint Ignition Blueprint 🏰 citadel Ignition Citadel 🔮 dome Ignition Dome labels Aug 4, 2020
@chapulina
Copy link
Contributor Author

This workaround solves the issue:

ign_find_package(ignition-tools
  REQUIRED
  PKGCONFIG "ignition-tools")

See for example gazebosim/gz-launch#44

chapulina added a commit that referenced this issue Feb 25, 2021
Added --commands

Approved-by: Louise Poubel <lupoubel@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📜 blueprint Ignition Blueprint bug Something isn't working 🏰 citadel Ignition Citadel 🔮 dome Ignition Dome
Projects
None yet
Development

No branches or pull requests

2 participants