-
Notifications
You must be signed in to change notification settings - Fork 254
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
Remove YAML_CPP_DLL define #964
Conversation
Signed-off-by: Akash Munagala <akash.munagala@gmail.com>
Perhaps ros2/yaml_cpp_vendor#10 wasn't fixed? It's interesting that ros-perception/image_common#231 seems to be fine though. |
Have you successfully built it on Windows locally? |
With respect to how rosbag2/rosbag2_storage/CMakeLists.txt Lines 42 to 47 in cc0e039
I don't know if this will fix the build failure here, but it might fix a loosely related issue downstream: https://build.ros2.org/view/Rbin_rhel_el864/job/Rbin_rhel_el864__domain_bridge__rhel_8_x86_64__binary/107/consoleFull
|
Nevermind, rviz is also failing to build: https://ci.ros2.org/job/ci_windows/16574 |
What did yaml-cpp 0.7.0 add from previous versions to provide the I don't think the linking needs to be changed since the galactic and foxy fixes for yaml_cpp_vendor have the macro redefinition warnings without any changes here. |
Should we try applying the change from ros2/yaml_cpp_vendor#31 to the main branch of yaml_cpp_vendor since we know that change does define |
I've ported the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with green CI
@jacobperron I've identified the cause of the build failure. I've suggested a fix on the yaml_cpp_vendor PR. |
Since ros2/yaml_cpp_vendor#10 is fixed, the explicit
YAML_CPP_DLL
define is no longer needed and needs to be removed to prevent the macro redefinition warnings.This should be backported to foxy and galactic.