Skip to content

Conversation

@lucasw
Copy link

@lucasw lucasw commented May 23, 2022

Also use default…C++, which will be 14 in noetic, 17 on newer systems which will resolve log4cxx 0.12 error:

Errors     << hector_geotiff:make /home/lucasw/base_catkin_ws/logs/hector_geotiff/build.make.003.log                                                                                                                          
In file included from /usr/include/log4cxx/log4cxx.h:45,
                 from /usr/include/log4cxx/logstring.h:28,
                 from /usr/include/log4cxx/level.h:22,
                 from /usr/include/ros/console.h:46,
                 from /home/lucasw/base_catkin_ws/src/other/hector_slam/hector_geotiff/src/geotiff_writer/geotiff_writer.cpp:30:
/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;
      |             ^~~

lucasw added 2 commits May 22, 2022 17:55
… C++ (which will be 14 in noetic, 17 on newer systems which will resolve log4cxx 0.12 'error: ‘shared_mutex’ in namespace ‘std’ does not name a type')
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