Hi!It's me again. I uninstalled ROS2 a few days ago. Now I want to install ros2-foxy again.
I got this stderr,
Starting >>> rcl_logging_noop
--- stderr: rcl_logging_log4cxx
In file included from /usr/include/log4cxx/log4cxx.h:45,
from /usr/include/log4cxx/logstring.h:28,
from /usr/include/log4cxx/spi/appenderattachable.h:26,
from /usr/include/log4cxx/helpers/appenderattachableimpl.h:27,
from /usr/include/log4cxx/logger.h:30,
from /home/fraunhofer/ros_package/ros2-foxy/src/ros2/src/ros2/rcl_logging/rcl_logging_log4cxx/src/rcl_logging_log4cxx/rcl_logging_log4cxx.cpp:21:
/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;
| ^~~
In file included from /home/fraunhofer/ros_package/ros2-foxy/src/ros2/src/ros2/rcl_logging/rcl_logging_log4cxx/src/rcl_logging_log4cxx/rcl_logging_log4cxx.cpp:21:
/usr/include/log4cxx/logger.h:1729:25: error: ‘shared_mutex’ does not name a type
1729 | mutable shared_mutex mutex;
| ^~~~~~~~~~~~
In file included from /usr/include/log4cxx/writerappender.h:26,
from /usr/include/log4cxx/fileappender.h:23,
from /home/fraunhofer/ros_package/ros2-foxy/src/ros2/src/ros2/rcl_logging/rcl_logging_log4cxx/src/rcl_logging_log4cxx/rcl_logging_log4cxx.cpp:26:
/usr/include/log4cxx/appenderskeleton.h:77:34: error: ‘shared_mutex’ in namespace ‘log4cxx’ does not name a type
77 | mutable log4cxx::shared_mutex mutex;
| ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/rcl_logging_log4cxx.dir/build.make:76: CMakeFiles/rcl_logging_log4cxx.dir/src/rcl_logging_log4cxx/rcl_logging_log4cxx.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/rcl_logging_log4cxx.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
---
Failed <<< rcl_logging_log4cxx [11.9s, exited with code 2]
Aborted <<< rcl_logging_noop [10.6s]
Aborted <<< rviz_assimp_vendor [5min 10s]
Aborted <<< test_launch_testing [40.3s]
Aborted <<< rosidl_runtime_c [45.0s]
Aborted <<< rcpputils [53.3s]
Aborted <<< fastrtps [7min 16s]
[9min 25.3s] [122/309 complete] [1 failed] [rviz_ogre_vendor:build 38% - 8min 48.6s]
I get the same error no matter if I execute yay -S ros2-foxy or git clone ... && makepkg ...
Hi!It's me again. I uninstalled ROS2 a few days ago. Now I want to install ros2-foxy again.
I got this stderr,
I get the same error no matter if I execute
yay -S ros2-foxy
orgit clone ... && makepkg ...