Skip to content

Modify rviz_carla_plugin/CMakeLists.txt for a successful build with l… - #759

Open
rsoome wants to merge 1 commit into
carla-simulator:masterfrom
rsoome:carla-simulator-update-rviz-carla-plugin-cmakelists
Open

Modify rviz_carla_plugin/CMakeLists.txt for a successful build with l…#759
rsoome wants to merge 1 commit into
carla-simulator:masterfrom
rsoome:carla-simulator-update-rviz-carla-plugin-cmakelists

Conversation

@rsoome

@rsoome rsoome commented Jul 14, 2025

Copy link
Copy Markdown

Starting from log4cxx version 0.12.0, it started using std::shared_ptr as the smart pointer implementation. On systems (i.e Ubuntu22) that have that version or greater, the build fails with /usr/include/log4cxx/boost-std-configuration.h:10:18: error: 'shared_mutex' in namespace 'std' dose not name a type.

This change will use cmake cxx standard 17 to build the rviz_carla_plugin istead of cmake cxx standard 14 if it detects log4cxx version greater than or equal to 0.12.0.


This change is Reviewable

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.

1 participant