-
Notifications
You must be signed in to change notification settings - Fork 30
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
IGNITION_CMAKE_VERSION_MAJOR changes after finding packages that use newer version of ign-cmake #61
Comments
Original comment by Brian Marchi (Bitbucket: BEMarchi).
|
1 similar comment
Original comment by Brian Marchi (Bitbucket: BEMarchi).
|
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). are you cloning |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). I'll try to reproduce this error |
Original comment by John Shepherd (Bitbucket: John Shepherd, GitHub: jshep1). I've followed your steps to reproduce the error only needing to also install ign-tools, and ign-msgs2 builds; however, I get similar but different error messages upon ign-transport5 being built:
|
Original comment by John Shepherd (Bitbucket: John Shepherd, GitHub: jshep1).
|
Original comment by Brian Marchi (Bitbucket: BEMarchi). @scpeters , yes, you need to have one directory for each ign-cmake version. |
Original comment by Brian Marchi (Bitbucket: BEMarchi).
|
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). thanks for reporting this I think the issue is caused by a change in the ign-msgs pull request that searches for ignition-math6 without |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). actually, that just fixes the problem that John noticed I still see the issue with |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). I can reproduce the issue with this workspace:
I believe it happens in this example because
The |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). It looks like the The problem, which wasn't noticed until now, is that the cmake config files that get generated for a package like |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
This causes a package that ostensibly uses |
Original report (archived issue) by Brian Marchi (Bitbucket: BEMarchi).
The original report had attachments: CMakeLists.txt, example.cc
Prerequisites
* [X] Put an X between the brackets on this line if you have done all of the following:
* Checked the QA board for common solutions: http://answers.gazebosim.org
* Checked that your issue isn't already filed.
* Checked that there is not already an Ignition package that provides the described functionality: https://ignitionrobotics.org/libs
Description
When trying to use a package that links against cmake2 and another one that links against cmake1, I get the following:
Steps to Reproduce
1. Clone ign-cmake1
2. Clone ign-cmake2
3. Clone ign-common3
4. Clone ign-math6
5. Clone ign-msgs2 branch https://osrf-migration.github.io/ignition-gh-pages/#!/ignitionrobotics/ign-msgs/pull-requests/138/use-math6
6. Clone ign-transport5
7. Create a project with a CMakeLists.txt like this:
8. Create an empty example.cc file living in the same dir as the above CMakeLists.txt
9. Build and install all projects
Expected behavior:
Library example should build normally
Actual behavior:
Library example doesn’t build
Reproduces how often:
Always
Versions
ign-cmake2, ign-cmake1, ign-transport5, ign-msgs2 branch msgs2_use_math6, ign-common3.
OS: Ubuntu 18.04
The text was updated successfully, but these errors were encountered: