I get this when trying to compile in Ubuntu 22.04:
.../src/drivers/ros_canopen/socketcan_bridge/src/socketcan_to_topic.cpp:28:
/usr/include/log4cxx/boost-std-configuration.h:10:18: error: ‘shared_mutex’ in namespace ‘std’ does not name a type
10 | typedef std::shared_mutex shared_mutex;
| ^~~~~~~~~~~~
/usr/include/log4cxx/boost-std-configuration.h:10:13: note: ‘std::shared_mutex’ is only available from C++17 onwards
10 | typedef std::shared_mutex shared_mutex;
| ^~~
make[2]: *** [CMakeFiles/socketcan_to_topic.dir/build.make:90: CMakeFiles/socketcan_to_topic.dir/src/socketcan_to_topic.cpp.o]
Using the default 22.04 C++ standard (17 I think) fixes it.
This would more accurately be part of a noetic branch which would mean the default C++ standard is already 14.
I get this when trying to compile in Ubuntu 22.04:
Using the default 22.04 C++ standard (17 I think) fixes it.
This would more accurately be part of a
noetic
branch which would mean the default C++ standard is already 14.