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

Fix CMake error caused by multiple JsonCpp target definitions #147

Merged

Conversation

audrow
Copy link

@audrow audrow commented Aug 23, 2024

This PR fixes a CMake error that occurs when building ros2_ouster_drivers on Humble due to multiple definitions of the JsonCpp::JsonCpp target. The issue is caused by an upstream bug in JsonCpp (open-source-parsers/jsoncpp#1356) and is triggered when multiple dependencies attempt to find and link against jsoncpp.

Here's an example of an error on the buildfarm:
https://build.ros2.org/view/Hbin_uJ64/job/Hbin_uJ64__ros2_ouster__ubuntu_jammy_amd64__binary/89/

@SteveMacenski, would you be able to help get this in?

Signed-off-by: audrow <audrow@google.com>
@SteveMacenski SteveMacenski merged commit a5f25ce into ros-drivers:humble Aug 23, 2024
@SteveMacenski
Copy link
Member

@SteveMacenski, would you be able to help get this in?

I can do the release after I eat lunch

@audrow
Copy link
Author

audrow commented Aug 23, 2024

Wonderful - thanks for moving so fast on this!

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

Successfully merging this pull request may close these issues.

2 participants