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

Update to use yaml-cpp version 0.8.0. #1605

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

clalancette
Copy link
Contributor

In yaml-cpp 0.8.0, they updated to use a proper CMake target, i.e. yaml-cpp::yaml-cpp. Update that here as well since we are updating our vendor to 0.8.0.

While I was in here, I did a bunch of cleanup to make fewer symbols externally visible.

Let me know if you want me to split the cleanups out into a separate PR; I'm happy to do that.

Depends on ros2/yaml_cpp_vendor#48 , so should not be merged before that one.

In yaml-cpp 0.8.0, they updated to use a proper CMake
target, i.e. yaml-cpp::yaml-cpp.  Update that here
as well since we are updating our vendor to 0.8.0.

While I was in here, I did a bunch of cleanup to make
fewer symbols externally visible.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette clalancette requested a review from a team as a code owner April 10, 2024 13:31
@clalancette clalancette requested review from emersonknapp and hidmic and removed request for a team April 10, 2024 13:31
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Copy link
Contributor

@MichaelOrlov MichaelOrlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@clalancette Thanks for cleanups. LGTM with green CI.

rosbag2_storage_mcap/CMakeLists.txt Show resolved Hide resolved
@ahcorde
Copy link
Contributor

ahcorde commented Apr 11, 2024

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status
  • Windows Debug Build Status
  • RHEL-9 Build Status

@ahcorde ahcorde merged commit 86be6e7 into rolling Apr 11, 2024
12 of 14 checks passed
@delete-merged-branch delete-merged-branch bot deleted the clalancette/yaml-cpp-vendor-update branch April 11, 2024 08:21
@jyjblrd
Copy link

jyjblrd commented Apr 11, 2024

Hi, this is causing my builds to fail with the error:

CMake Error at /opt/ros/rolling/share/ament_cmake_gmock/cmake/ament_add_gmock_executable.cmake:50 (add_executable):
  Target "test_qos" links to target "yaml-cpp::yaml-cpp" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  /opt/ros/rolling/share/ament_cmake_gmock/cmake/ament_add_gmock_executable.cmake:37 (_ament_add_gmock_executable)
  /opt/ros/rolling/share/ament_cmake_gmock/cmake/ament_add_gmock.cmake:65 (ament_add_gmock_executable)
  CMakeLists.txt:129 (ament_add_gmock)

Pulling from the commit before this one resolves this issue. I noticed that the automated builds are also failing with this issue?

@clalancette
Copy link
Contributor Author

Pulling from the commit before this one resolves this issue. I noticed that the automated builds are also failing with this issue?

Yeah, that will be the case until we do releases of all 4 of the connected PRs. Given that we are just 2.5 working days from the freeze, we'll probably wait until Tuesday, April 16 to do that. Until then, you'll have to build this along with ros2/yaml_cpp_vendor#48

@jyjblrd
Copy link

jyjblrd commented Apr 11, 2024

Ah, that makes sense. Sorry, was not aware of how ROS handles releases!

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.

4 participants