ros-noetic-arch / ros-noetic-gazebo-ros-control

ros-noetic-gazebo-ros-control AUR package
0 stars 1 forks source link

Build failure with boost 1.75 #1

Closed alexdewar closed 2 years ago

alexdewar commented 3 years ago

I'm currently getting build errors. I think the problem is that the source code is being built with -std=c++11, whereas boost nowadays seems to require C++17 (hence the errors related to std::any etc.).

I tried a few crude hacks to try to get CMake to build the targets with C++17, but didn't have any luck.

The full build log is below.

Error ``` ==> Making package: ros-noetic-gazebo-ros-control 2.9.2-1 (Wed 26 May 2021 12:58:24 BST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found ros-noetic-gazebo-ros-control-2.9.2.tar.gz ==> Validating source files with sha256sums... ros-noetic-gazebo-ros-control-2.9.2.tar.gz ... Passed ==> Extracting sources... -> Extracting ros-noetic-gazebo-ros-control-2.9.2.tar.gz with bsdtar ==> Removing existing $pkgdir/ directory... ==> Starting build()... -- Using CATKIN_DEVEL_PREFIX: /tmp/makepkg/ros-noetic-gazebo-ros-control/src/build/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/noetic -- This workspace overlays: /opt/ros/noetic -- Found PythonInterp: /usr/bin/python (found suitable version "3.9.5", minimum required is "3") -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using default Python package layout -- Using empy: /usr/lib/python3.9/site-packages/em.py -- Using CATKIN_ENABLE_TESTING: ON -- Skip enable_testing() when building binary package -- Using CATKIN_TEST_RESULTS_DIR: /tmp/makepkg/ros-noetic-gazebo-ros-control/src/build/test_results -- Forcing gtest/gmock from source, though one was otherwise available. -- Found gtest sources under '/usr/src/gmock': gtests will be built -- Found gmock sources under '/usr/src/gmock': gmock will be built CMake Warning at /usr/src/gmock/CMakeLists.txt:43 (project): VERSION keyword not followed by a value or was followed by a value that expanded to nothing. CMake Deprecation Warning at /usr/src/gmock/CMakeLists.txt:45 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Warning at /usr/src/googletest/CMakeLists.txt:54 (project): VERSION keyword not followed by a value or was followed by a value that expanded to nothing. CMake Deprecation Warning at /usr/src/googletest/CMakeLists.txt:56 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found PythonInterp: /usr/bin/python (found version "3.9.5") -- Using Python nosetests: /usr/bin/nosetests-3.9 -- catkin 0.8.10 -- BUILD_SHARED_LIBS is on CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (gazebo). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /usr/share/cmake-3.20/Modules/FindPkgConfig.cmake:70 (find_package_handle_standard_args) /usr/lib64/cmake/gazebo/gazebo-config.cmake:72 (include) /opt/ros/noetic/share/gazebo_dev/cmake/gazebo_dev-extras.cmake:2 (find_package) /opt/ros/noetic/share/gazebo_dev/cmake/gazebo_devConfig.cmake:222 (include) /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package) CMakeLists.txt:5 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Protobuf: /usr/lib/libprotobuf.so;-lpthread (found version "3.16.0") -- Looking for ignition-math6 -- found version 6.8.0 -- Searching for dependencies of ignition-math6 -- Looking for OGRE... -- Found Ogre Ghadamon (1.9.0) -- Found OGRE: optimized;/usr/lib/libOgreMain.so;debug;/usr/lib/libOgreMain.so -- Looking for OGRE_Paging... -- Found OGRE_Paging: optimized;/usr/lib/libOgrePaging.so;debug;/usr/lib/libOgrePaging.so -- Looking for OGRE_Terrain... -- Found OGRE_Terrain: optimized;/usr/lib/libOgreTerrain.so;debug;/usr/lib/libOgreTerrain.so -- Looking for OGRE_Property... -- Found OGRE_Property: optimized;/usr/lib/libOgreProperty.so;debug;/usr/lib/libOgreProperty.so -- Looking for OGRE_RTShaderSystem... -- Found OGRE_RTShaderSystem: optimized;/usr/lib/libOgreRTShaderSystem.so;debug;/usr/lib/libOgreRTShaderSystem.so -- Looking for OGRE_Volume... -- Found OGRE_Volume: optimized;/usr/lib/libOgreVolume.so;debug;/usr/lib/libOgreVolume.so -- Looking for OGRE_Overlay... -- Found OGRE_Overlay: optimized;/usr/lib/libOgreOverlay.so;debug;/usr/lib/libOgreOverlay.so -- Looking for ignition-math6 -- found version 6.8.0 -- Looking for ignition-transport8 -- found version 8.2.0 -- Searching for dependencies of ignition-transport8 -- Found Protobuf: /usr/lib/libprotobuf.so;-lpthread (found suitable version "3.16.0", minimum required is "3") -- Config-file not installed for ZeroMQ -- checking for pkg-config -- Checking for module 'libzmq >= 4' -- Found libzmq , version 4.3.4 -- Checking for module 'uuid' -- Found uuid, version 2.36.2 -- Looking for ignition-msgs5 -- found version 5.7.0 -- Searching for dependencies of ignition-msgs5 -- Looking for ignition-math6 -- found version 6.8.0 -- Checking for module 'tinyxml2' -- Found tinyxml2, version 7.1.0 -- Looking for ignition-msgs5 -- found version 5.7.0 -- Looking for ignition-common3 -- found version 3.13.1 -- Searching for dependencies of ignition-common3 -- Looking for dlfcn.h - found -- Looking for libdl - found -- Searching for component [graphics] -- Looking for ignition-common3-graphics -- found version 3.13.1 -- Searching for dependencies of ignition-common3-graphics -- Looking for ignition-math6 -- found version 6.8.0 -- Looking for ignition-fuel_tools4 -- found version 4.3.0 -- Searching for dependencies of ignition-fuel_tools4 -- Checking for module 'jsoncpp' -- Found jsoncpp, version 1.9.4 -- Checking for module 'yaml-0.1' -- Found yaml-0.1, version 0.2.5 -- Checking for module 'libzip' -- Found libzip, version 1.7.3 -- Looking for ignition-common3 -- found version 3.13.1 -- Looking for ignition-msgs5 -- found version 5.7.0 -- Gazebo version: 11.5 -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Configuring done -- Generating done -- Build files have been written to: /tmp/makepkg/ros-noetic-gazebo-ros-control/src/build Consolidate compiler generated dependencies of target default_robot_hw_sim Consolidate compiler generated dependencies of target gazebo_ros_control [ 25%] Building CXX object CMakeFiles/gazebo_ros_control.dir/src/gazebo_ros_control_plugin.cpp.o [ 50%] Building CXX object CMakeFiles/default_robot_hw_sim.dir/src/default_robot_hw_sim.cpp.o In file included from /usr/include/boost/bind.hpp:30, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh: In function ‘std::chrono::_V2::steady_clock::duration ignition::math::v6::stringToDuration(const string&)’: /usr/include/ignition/math6/ignition/math/Helpers.hh:990:28: error: ‘chrono_literals’ is not a namespace-name 990 | using namespace std::chrono_literals; | ^~~~~~~~~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh: In function ‘std::chrono::_V2::steady_clock::time_point ignition::math::v6::stringToTimePoint(const string&)’: /usr/include/ignition/math6/ignition/math/Helpers.hh:1032:28: error: ‘chrono_literals’ is not a namespace-name 1032 | using namespace std::chrono_literals; | ^~~~~~~~~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:1033:56: error: unable to find numeric literal operator ‘operator""s’ 1033 | std::chrono::steady_clock::time_point timePoint{-1s}; | ^~ /usr/include/ignition/math6/ignition/math/Helpers.hh:1033:56: note: use ‘-fext-numeric-literals’ to enable more built-in suffixes /usr/include/ignition/math6/ignition/math/Helpers.hh:1033:58: error: no matching function for call to ‘std::chrono::time_point > >::time_point()’ 1033 | std::chrono::steady_clock::time_point timePoint{-1s}; | ^ In file included from /usr/include/c++/11.1.0/mutex:39, from /usr/include/boost/system/detail/to_std_category.hpp:20, from /usr/include/boost/system/detail/error_category_impl.hpp:99, from /usr/include/boost/system/error_category.hpp:11, from /usr/include/boost/system/error_code.hpp:14, from /usr/include/boost/system/system_error.hpp:11, from /usr/include/boost/thread/exceptions.hpp:22, from /usr/include/boost/thread/pthread/thread_data.hpp:10, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:44, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/c++/11.1.0/chrono:871:21: note: candidate: ‘template constexpr std::chrono::time_point<_Clock, _Dur>::time_point(const std::chrono::time_point<_Clock, _Dur2>&) [with _Dur2 = _Dur2; = ; _Clock = std::chrono::_V2::steady_clock; _Dur = std::chrono::duration >]’ 871 | constexpr time_point(const time_point& __t) | ^~~~~~~~~~ /usr/include/c++/11.1.0/chrono:871:21: note: template argument deduction/substitution failed: /usr/include/c++/11.1.0/chrono:864:28: note: candidate: ‘constexpr std::chrono::time_point<_Clock, _Dur>::time_point(const duration&) [with _Clock = std::chrono::_V2::steady_clock; _Dur = std::chrono::duration >; std::chrono::time_point<_Clock, _Dur>::duration = std::chrono::duration >]’ 864 | constexpr explicit time_point(const duration& __dur) | ^~~~~~~~~~ /usr/include/c++/11.1.0/chrono:864:28: note: conversion of argument 1 would be ill-formed: /usr/include/c++/11.1.0/chrono:861:19: note: candidate: ‘constexpr std::chrono::time_point<_Clock, _Dur>::time_point() [with _Clock = std::chrono::_V2::steady_clock; _Dur = std::chrono::duration >]’ 861 | constexpr time_point() : __d(duration::zero()) | ^~~~~~~~~~ /usr/include/c++/11.1.0/chrono:861:19: note: candidate expects 0 arguments, 1 provided /usr/include/c++/11.1.0/chrono:851:14: note: candidate: ‘constexpr std::chrono::time_point > >::time_point(const std::chrono::time_point > >&)’ 851 | struct time_point | ^~~~~~~~~~ /usr/include/c++/11.1.0/chrono:851:14: note: conversion of argument 1 would be ill-formed: /usr/include/c++/11.1.0/chrono:851:14: note: candidate: ‘constexpr std::chrono::time_point > >::time_point(std::chrono::time_point > >&&)’ /usr/include/c++/11.1.0/chrono:851:14: note: conversion of argument 1 would be ill-formed: In file included from /usr/include/ignition/math6/ignition/math.hh:30, from /usr/include/sdformat-9.5/sdf/Param.hh:33, from /usr/include/sdformat-9.5/sdf/Element.hh:28, from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Capsule.hh: At global scope: /usr/include/ignition/math6/ignition/math/Capsule.hh:91:20: error: ‘optional’ in namespace ‘std’ does not name a template type 91 | public: std::optional< MassMatrix3 > MassMatrix() const; | ^~~~~~~~ /usr/include/ignition/math6/ignition/math/Capsule.hh:91:15: note: ‘std::optional’ is only available from C++17 onwards 91 | public: std::optional< MassMatrix3 > MassMatrix() const; | ^~~ In file included from /usr/include/ignition/math6/ignition/math/Capsule.hh:149, from /usr/include/ignition/math6/ignition/math.hh:30, from /usr/include/sdformat-9.5/sdf/Param.hh:33, from /usr/include/sdformat-9.5/sdf/Element.hh:28, from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/detail/Capsule.hh:100:6: error: ‘optional’ in namespace ‘std’ does not name a template type 100 | std::optional< MassMatrix3 > Capsule::MassMatrix() const | ^~~~~~~~ /usr/include/ignition/math6/ignition/math/detail/Capsule.hh:100:1: note: ‘std::optional’ is only available from C++17 onwards 100 | std::optional< MassMatrix3 > Capsule::MassMatrix() const | ^~~ In file included from /usr/include/ignition/math6/ignition/math.hh:34, from /usr/include/sdformat-9.5/sdf/Param.hh:33, from /usr/include/sdformat-9.5/sdf/Element.hh:28, from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Ellipsoid.hh:77:20: error: ‘optional’ in namespace ‘std’ does not name a template type 77 | public: std::optional< MassMatrix3 > MassMatrix() const; | ^~~~~~~~ /usr/include/ignition/math6/ignition/math/Ellipsoid.hh:77:15: note: ‘std::optional’ is only available from C++17 onwards 77 | public: std::optional< MassMatrix3 > MassMatrix() const; | ^~~ In file included from /usr/include/ignition/math6/ignition/math/Ellipsoid.hh:132, from /usr/include/ignition/math6/ignition/math.hh:34, from /usr/include/sdformat-9.5/sdf/Param.hh:33, from /usr/include/sdformat-9.5/sdf/Element.hh:28, from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/detail/Ellipsoid.hh:77:6: error: ‘optional’ in namespace ‘std’ does not name a template type 77 | std::optional< MassMatrix3 > Ellipsoid::MassMatrix() const | ^~~~~~~~ /usr/include/ignition/math6/ignition/math/detail/Ellipsoid.hh:77:1: note: ‘std::optional’ is only available from C++17 onwards 77 | std::optional< MassMatrix3 > Ellipsoid::MassMatrix() const | ^~~ In file included from /usr/include/sdformat-9.5/sdf/Element.hh:28, from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/sdformat-9.5/sdf/Param.hh:72:57: error: expected constructor, destructor, or type conversion before ‘;’ token 72 | template ParamStreamer(T) -> ParamStreamer; | ^ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ 83 | ParamStreamer> sv) | ^~~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:57: error: expected parameter pack before ‘...’ 83 | ParamStreamer> sv) | ^~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:57: error: template argument 1 is invalid /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ 83 | ParamStreamer> sv) | ^~~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:57: error: expected parameter pack before ‘...’ 83 | ParamStreamer> sv) | ^~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:60: error: template argument 1 is invalid 83 | ParamStreamer> sv) | ^~ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ 83 | ParamStreamer> sv) | ^~~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:57: error: expected parameter pack before ‘...’ 83 | ParamStreamer> sv) | ^~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:60: error: template argument 1 is invalid 83 | ParamStreamer> sv) | ^~ /usr/include/sdformat-9.5/sdf/Param.hh:83:28: error: ‘ParamStreamer’ is not a type 83 | ParamStreamer> sv) | ^~~~~~~~~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:41: error: expected ‘,’ or ‘...’ before ‘<’ token 83 | ParamStreamer> sv) | ^ /usr/include/sdformat-9.5/sdf/Param.hh: In function ‘std::ostream& sdf::v9::operator<<(std::ostream&, int)’: /usr/include/sdformat-9.5/sdf/Param.hh:85:10: error: ‘visit’ is not a member of ‘std’ 85 | std::visit([&os](auto const &v) | ^~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:85:10: note: ‘std::visit’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:85:22: error: use of ‘auto’ in lambda parameter declaration only available with ‘-std=c++14’ or ‘-std=gnu++14’ 85 | std::visit([&os](auto const &v) | ^~~~ /usr/include/sdformat-9.5/sdf/Param.hh: In lambda function: /usr/include/sdformat-9.5/sdf/Param.hh:87:28: error: missing template arguments before ‘{’ token 87 | os << ParamStreamer{v}; | ^ /usr/include/sdformat-9.5/sdf/Param.hh: In function ‘std::ostream& sdf::v9::operator<<(std::ostream&, int)’: /usr/include/sdformat-9.5/sdf/Param.hh:88:10: error: ‘sv’ was not declared in this scope 88 | }, sv.val); | ^~ /usr/include/sdformat-9.5/sdf/Param.hh: At global scope: /usr/include/sdformat-9.5/sdf/Param.hh:173:30: error: ‘std::any’ has not been declared 173 | public: bool GetAny(std::any &_anyVal) const; | ^~~ /usr/include/sdformat-9.5/sdf/Param.hh:242:32: error: ‘any’ is not a member of ‘std’ 242 | public: std::function updateFunc; | ^~~ /usr/include/sdformat-9.5/sdf/Param.hh:242:32: note: ‘std::any’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:242:32: error: ‘any’ is not a member of ‘std’ /usr/include/sdformat-9.5/sdf/Param.hh:242:32: note: ‘std::any’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:242:38: error: template argument 1 is invalid 242 | public: std::function updateFunc; | ^ /usr/include/sdformat-9.5/sdf/Param.hh:246:26: error: ‘variant’ in namespace ‘std’ does not name a template type 246 | public: typedef std::variant(this->dataPtr->value); | ^~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:318:25: error: ‘get_if’ is not a member of ‘std’ 318 | T *value = std::get_if(&this->dataPtr->value); | ^~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:318:33: error: expected primary-expression before ‘>’ token 318 | T *value = std::get_if(&this->dataPtr->value); | ^ /usr/include/sdformat-9.5/sdf/Param.hh:318:51: error: ‘class sdf::v9::ParamPrivate’ has no member named ‘value’ 318 | T *value = std::get_if(&this->dataPtr->value); | ^~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:324:30: error: missing template arguments before ‘{’ token 324 | ss << ParamStreamer{this->dataPtr->value}; | ^ /usr/include/sdformat-9.5/sdf/Param.hh: In member function ‘bool sdf::v9::Param::GetDefault(T&) const’: /usr/include/sdformat-9.5/sdf/Param.hh:349:26: error: missing template arguments before ‘{’ token 349 | ss << ParamStreamer{this->dataPtr->defaultValue}; | ^ /usr/include/sdformat-9.5/sdf/Param.hh: In member function ‘bool sdf::v9::Param::IsType() const’: /usr/include/sdformat-9.5/sdf/Param.hh:369:17: error: ‘holds_alternative’ is not a member of ‘std’ 369 | return std::holds_alternative(this->dataPtr->value); | ^~~~~~~~~~~~~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:369:39: error: expected primary-expression before ‘>’ token 369 | return std::holds_alternative(this->dataPtr->value); | ^ /usr/include/sdformat-9.5/sdf/Param.hh:369:56: error: ‘class sdf::v9::ParamPrivate’ has no member named ‘value’ 369 | return std::holds_alternative(this->dataPtr->value); | ^~~~~ In file included from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/sdformat-9.5/sdf/Element.hh: At global scope: /usr/include/sdformat-9.5/sdf/Element.hh:237:18: error: ‘any’ in namespace ‘std’ does not name a type 237 | public: std::any GetAny(const std::string &_key = "") const; | ^~~ /usr/include/sdformat-9.5/sdf/Element.hh:237:13: note: ‘std::any’ is only available from C++17 onwards 237 | public: std::any GetAny(const std::string &_key = "") const; | ^~~ In file included from /usr/include/gazebo-11/gazebo/transport/Connection.hh:20, from /usr/include/gazebo-11/gazebo/transport/transport.hh:3, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:21, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/tbb/task.h:21:139: note: ‘#pragma message: TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’ 21 | #pragma message("TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.") | ^ In file included from /usr/include/ignition/transport8/ignition/transport/Node.hh:42, from /usr/include/gazebo-11/gazebo/physics/Entity.hh:25, from /usr/include/gazebo-11/gazebo/physics/Model.hh:30, from /usr/include/gazebo-11/gazebo/physics/Actor.hh:27, from /usr/include/gazebo-11/gazebo/physics/physics.hh:2, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/transport8/ignition/transport/NodeShared.hh:298:20: error: ‘optional’ in namespace ‘std’ does not name a template type 298 | public: std::optional TopicStats( | ^~~~~~~~ /usr/include/ignition/transport8/ignition/transport/NodeShared.hh:298:15: note: ‘std::optional’ is only available from C++17 onwards 298 | public: std::optional TopicStats( | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/Entity.hh:25, from /usr/include/gazebo-11/gazebo/physics/Model.hh:30, from /usr/include/gazebo-11/gazebo/physics/Actor.hh:27, from /usr/include/gazebo-11/gazebo/physics/physics.hh:2, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/transport8/ignition/transport/Node.hh:740:20: error: ‘optional’ in namespace ‘std’ does not name a template type 740 | public: std::optional TopicStats( | ^~~~~~~~ /usr/include/ignition/transport8/ignition/transport/Node.hh:740:15: note: ‘std::optional’ is only available from C++17 onwards 740 | public: std::optional TopicStats( | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/Entity.hh:35, from /usr/include/gazebo-11/gazebo/physics/Model.hh:30, from /usr/include/gazebo-11/gazebo/physics/Actor.hh:27, from /usr/include/gazebo-11/gazebo/physics/physics.hh:2, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/gazebo-11/gazebo/physics/Base.hh:323:28: error: ‘optional’ in namespace ‘std’ does not name a template type 323 | public: virtual std::optional SDFSemanticPose() const; | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Base.hh:323:23: note: ‘std::optional’ is only available from C++17 onwards 323 | public: virtual std::optional SDFSemanticPose() const; | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/Actor.hh:27, from /usr/include/gazebo-11/gazebo/physics/physics.hh:2, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/gazebo-11/gazebo/physics/Model.hh:478:20: error: ‘optional’ in namespace ‘std’ does not name a template type 478 | public: std::optional SDFSemanticPose() const override; | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Model.hh:478:15: note: ‘std::optional’ is only available from C++17 onwards 478 | public: std::optional SDFSemanticPose() const override; | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/BallJoint.hh:25, from /usr/include/gazebo-11/gazebo/physics/physics.hh:6, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/gazebo-11/gazebo/physics/Joint.hh:594:28: error: ‘optional’ in namespace ‘std’ does not name a template type 594 | public: virtual std::optional SDFSemanticPose() | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Joint.hh:594:23: note: ‘std::optional’ is only available from C++17 onwards 594 | public: virtual std::optional SDFSemanticPose() | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:9, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/gazebo-11/gazebo/physics/Collision.hh:205:28: error: ‘optional’ in namespace ‘std’ does not name a template type 205 | public: virtual std::optional SDFSemanticPose() | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Collision.hh:205:23: note: ‘std::optional’ is only available from C++17 onwards 205 | public: virtual std::optional SDFSemanticPose() | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:26, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/gazebo-11/gazebo/physics/Light.hh:78:20: error: ‘optional’ in namespace ‘std’ does not name a template type 78 | public: std::optional SDFSemanticPose() const override; | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Light.hh:78:15: note: ‘std::optional’ is only available from C++17 onwards 78 | public: std::optional SDFSemanticPose() const override; | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:28, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/gazebo-11/gazebo/physics/Link.hh:617:20: error: ‘optional’ in namespace ‘std’ does not name a template type 617 | public: std::optional SDFSemanticPose() const override; | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Link.hh:617:15: note: ‘std::optional’ is only available from C++17 onwards 617 | public: std::optional SDFSemanticPose() const override; | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:36, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh: In static member function ‘static T gazebo::physics::PhysicsEngine::any_cast(const boost::any&)’: /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:274:45: error: ‘any’ is not a member of ‘std’ 274 | auto value = boost::any_cast(_value); | ^~~ /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:274:45: note: ‘std::any’ is only available from C++17 onwards /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:274:45: error: ‘any’ is not a member of ‘std’ /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:274:45: note: ‘std::any’ is only available from C++17 onwards /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:275:23: error: ‘any_cast’ is not a member of ‘std’ 275 | return std::any_cast(value); | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:275:23: note: ‘std::any_cast’ is only available from C++17 onwards /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:275:33: error: expected primary-expression before ‘>’ token 275 | return std::any_cast(value); | ^ In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh: In instantiation of ‘std::tuple<_Tps ...> ignition::math::v6::breakDownDurations(DurationIn) [with Durations = {std::chrono::duration >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration >}; DurationIn = std::chrono::duration >]’: /usr/include/ignition/math6/ignition/math/Helpers.hh:828:73: required from here /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: no matching function for call to ‘get > >(std::tuple >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration > >&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:36, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/utility:223:5: note: candidate: ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)’ 223 | get(pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:223:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:36, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/utility:228:5: note: candidate: ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)’ 228 | get(pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:228:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:36, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/utility:233:5: note: candidate: ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)’ 233 | get(const pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:233:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:36, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/utility:238:5: note: candidate: ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)’ 238 | get(const pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:238:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/array:361:5: note: candidate: ‘template constexpr _Tp& std::get(std::array<_Tp, _Nm>&)’ 361 | get(array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:361:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr _Tp& std::get(std::array<_Tp, _Nm>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/array:369:5: note: candidate: ‘template constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)’ 369 | get(array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:369:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/array:377:5: note: candidate: ‘template constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)’ 377 | get(const array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:377:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/array:385:5: note: candidate: ‘template constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)’ 385 | get(const array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:385:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/tuple:1377:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)’ 1377 | get(tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1377:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/tuple:1383:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(const std::tuple<_Elements ...>&)’ 1383 | get(const tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1383:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(const std::tuple<_Elements ...>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/tuple:1389:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(std::tuple<_Elements ...>&&)’ 1389 | get(tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1389:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(std::tuple<_Elements ...>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/tuple:1398:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(const std::tuple<_Elements ...>&&)’ 1398 | get(const tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1398:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(const std::tuple<_Elements ...>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /opt/ros/noetic/include/ros/message.h:38, from /opt/ros/noetic/include/ros/publisher.h:33, from /opt/ros/noetic/include/ros/node_handle.h:32, from /opt/ros/noetic/include/ros/ros.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/boost/array.hpp:439:7: note: candidate: ‘template T& std::get(boost::array&)’ 439 | T &get(boost::array &arr) BOOST_NOEXCEPT { | ^~~ /usr/include/boost/array.hpp:439:7: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template T& std::get(boost::array&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /opt/ros/noetic/include/ros/message.h:38, from /opt/ros/noetic/include/ros/publisher.h:33, from /opt/ros/noetic/include/ros/node_handle.h:32, from /opt/ros/noetic/include/ros/ros.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/boost/array.hpp:445:13: note: candidate: ‘template const T& std::get(const boost::array&)’ 445 | const T &get(const boost::array &arr) BOOST_NOEXCEPT { | ^~~ /usr/include/boost/array.hpp:445:13: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template const T& std::get(const boost::array&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: no matching function for call to ‘get > >(std::tuple >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration > >&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:36, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/utility:223:5: note: candidate: ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)’ 223 | get(pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:223:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:36, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/utility:228:5: note: candidate: ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)’ 228 | get(pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:228:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:36, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/utility:233:5: note: candidate: ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)’ 233 | get(const pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:233:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:36, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/utility:238:5: note: candidate: ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)’ 238 | get(const pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:238:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/array:361:5: note: candidate: ‘template constexpr _Tp& std::get(std::array<_Tp, _Nm>&)’ 361 | get(array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:361:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr _Tp& std::get(std::array<_Tp, _Nm>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/array:369:5: note: candidate: ‘template constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)’ 369 | get(array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:369:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/array:377:5: note: candidate: ‘template constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)’ 377 | get(const array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:377:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/array:385:5: note: candidate: ‘template constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)’ 385 | get(const array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:385:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/tuple:1377:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)’ 1377 | get(tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1377:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/tuple:1383:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(const std::tuple<_Elements ...>&)’ 1383 | get(const tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1383:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(const std::tuple<_Elements ...>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/tuple:1389:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(std::tuple<_Elements ...>&&)’ 1389 | get(tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1389:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(std::tuple<_Elements ...>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/memory:76, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:29, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:43: /usr/include/c++/11.1.0/tuple:1398:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(const std::tuple<_Elements ...>&&)’ 1398 | get(const tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1398:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(const std::tuple<_Elements ...>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /opt/ros/noetic/include/ros/message.h:38, from /opt/ros/noetic/include/ros/publisher.h:33, from /opt/ros/noetic/include/ros/node_handle.h:32, from /opt/ros/noetic/include/ros/ros.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/boost/array.hpp:439:7: note: candidate: ‘template T& std::get(boost::array&)’ 439 | T &get(boost::array &arr) BOOST_NOEXCEPT { | ^~~ /usr/include/boost/array.hpp:439:7: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template T& std::get(boost::array&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /opt/ros/noetic/include/ros/message.h:38, from /opt/ros/noetic/include/ros/publisher.h:33, from /opt/ros/noetic/include/ros/node_handle.h:32, from /opt/ros/noetic/include/ros/ros.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/boost/array.hpp:445:13: note: candidate: ‘template const T& std::get(const boost::array&)’ 445 | const T &get(const boost::array &arr) BOOST_NOEXCEPT { | ^~~ /usr/include/boost/array.hpp:445:13: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template const T& std::get(const boost::array&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ make[2]: *** [CMakeFiles/gazebo_ros_control.dir/build.make:76: CMakeFiles/gazebo_ros_control.dir/src/gazebo_ros_control_plugin.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1685: CMakeFiles/gazebo_ros_control.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /opt/ros/noetic/include/ros/forwards.h:37, from /opt/ros/noetic/include/ros/common.h:37, from /opt/ros/noetic/include/ros/ros.h:43, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh: In function ‘std::chrono::_V2::steady_clock::duration ignition::math::v6::stringToDuration(const string&)’: /usr/include/ignition/math6/ignition/math/Helpers.hh:990:28: error: ‘chrono_literals’ is not a namespace-name 990 | using namespace std::chrono_literals; | ^~~~~~~~~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh: In function ‘std::chrono::_V2::steady_clock::time_point ignition::math::v6::stringToTimePoint(const string&)’: /usr/include/ignition/math6/ignition/math/Helpers.hh:1032:28: error: ‘chrono_literals’ is not a namespace-name 1032 | using namespace std::chrono_literals; | ^~~~~~~~~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:1033:56: error: unable to find numeric literal operator ‘operator""s’ 1033 | std::chrono::steady_clock::time_point timePoint{-1s}; | ^~ /usr/include/ignition/math6/ignition/math/Helpers.hh:1033:56: note: use ‘-fext-numeric-literals’ to enable more built-in suffixes /usr/include/ignition/math6/ignition/math/Helpers.hh:1033:58: error: no matching function for call to ‘std::chrono::time_point > >::time_point()’ 1033 | std::chrono::steady_clock::time_point timePoint{-1s}; | ^ In file included from /usr/include/c++/11.1.0/mutex:39, from /usr/include/boost/system/detail/to_std_category.hpp:20, from /usr/include/boost/system/detail/error_category_impl.hpp:99, from /usr/include/boost/system/error_category.hpp:11, from /usr/include/boost/system/error_code.hpp:14, from /usr/include/boost/system/system_error.hpp:11, from /usr/include/boost/thread/exceptions.hpp:22, from /usr/include/boost/thread/pthread/mutex.hpp:14, from /usr/include/boost/thread/mutex.hpp:16, from /opt/ros/noetic/include/ros/publisher.h:36, from /opt/ros/noetic/include/ros/node_handle.h:32, from /opt/ros/noetic/include/ros/ros.h:45, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/chrono:871:21: note: candidate: ‘template constexpr std::chrono::time_point<_Clock, _Dur>::time_point(const std::chrono::time_point<_Clock, _Dur2>&) [with _Dur2 = _Dur2; = ; _Clock = std::chrono::_V2::steady_clock; _Dur = std::chrono::duration >]’ 871 | constexpr time_point(const time_point& __t) | ^~~~~~~~~~ /usr/include/c++/11.1.0/chrono:871:21: note: template argument deduction/substitution failed: /usr/include/c++/11.1.0/chrono:864:28: note: candidate: ‘constexpr std::chrono::time_point<_Clock, _Dur>::time_point(const duration&) [with _Clock = std::chrono::_V2::steady_clock; _Dur = std::chrono::duration >; std::chrono::time_point<_Clock, _Dur>::duration = std::chrono::duration >]’ 864 | constexpr explicit time_point(const duration& __dur) | ^~~~~~~~~~ /usr/include/c++/11.1.0/chrono:864:28: note: conversion of argument 1 would be ill-formed: /usr/include/c++/11.1.0/chrono:861:19: note: candidate: ‘constexpr std::chrono::time_point<_Clock, _Dur>::time_point() [with _Clock = std::chrono::_V2::steady_clock; _Dur = std::chrono::duration >]’ 861 | constexpr time_point() : __d(duration::zero()) | ^~~~~~~~~~ /usr/include/c++/11.1.0/chrono:861:19: note: candidate expects 0 arguments, 1 provided /usr/include/c++/11.1.0/chrono:851:14: note: candidate: ‘constexpr std::chrono::time_point > >::time_point(const std::chrono::time_point > >&)’ 851 | struct time_point | ^~~~~~~~~~ /usr/include/c++/11.1.0/chrono:851:14: note: conversion of argument 1 would be ill-formed: /usr/include/c++/11.1.0/chrono:851:14: note: candidate: ‘constexpr std::chrono::time_point > >::time_point(std::chrono::time_point > >&&)’ /usr/include/c++/11.1.0/chrono:851:14: note: conversion of argument 1 would be ill-formed: In file included from /usr/include/ignition/math6/ignition/math.hh:30, from /usr/include/sdformat-9.5/sdf/Param.hh:33, from /usr/include/sdformat-9.5/sdf/Element.hh:28, from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Capsule.hh: At global scope: /usr/include/ignition/math6/ignition/math/Capsule.hh:91:20: error: ‘optional’ in namespace ‘std’ does not name a template type 91 | public: std::optional< MassMatrix3 > MassMatrix() const; | ^~~~~~~~ /usr/include/ignition/math6/ignition/math/Capsule.hh:91:15: note: ‘std::optional’ is only available from C++17 onwards 91 | public: std::optional< MassMatrix3 > MassMatrix() const; | ^~~ In file included from /usr/include/ignition/math6/ignition/math/Capsule.hh:149, from /usr/include/ignition/math6/ignition/math.hh:30, from /usr/include/sdformat-9.5/sdf/Param.hh:33, from /usr/include/sdformat-9.5/sdf/Element.hh:28, from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/detail/Capsule.hh:100:6: error: ‘optional’ in namespace ‘std’ does not name a template type 100 | std::optional< MassMatrix3 > Capsule::MassMatrix() const | ^~~~~~~~ /usr/include/ignition/math6/ignition/math/detail/Capsule.hh:100:1: note: ‘std::optional’ is only available from C++17 onwards 100 | std::optional< MassMatrix3 > Capsule::MassMatrix() const | ^~~ In file included from /usr/include/ignition/math6/ignition/math.hh:34, from /usr/include/sdformat-9.5/sdf/Param.hh:33, from /usr/include/sdformat-9.5/sdf/Element.hh:28, from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Ellipsoid.hh:77:20: error: ‘optional’ in namespace ‘std’ does not name a template type 77 | public: std::optional< MassMatrix3 > MassMatrix() const; | ^~~~~~~~ /usr/include/ignition/math6/ignition/math/Ellipsoid.hh:77:15: note: ‘std::optional’ is only available from C++17 onwards 77 | public: std::optional< MassMatrix3 > MassMatrix() const; | ^~~ In file included from /usr/include/ignition/math6/ignition/math/Ellipsoid.hh:132, from /usr/include/ignition/math6/ignition/math.hh:34, from /usr/include/sdformat-9.5/sdf/Param.hh:33, from /usr/include/sdformat-9.5/sdf/Element.hh:28, from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/detail/Ellipsoid.hh:77:6: error: ‘optional’ in namespace ‘std’ does not name a template type 77 | std::optional< MassMatrix3 > Ellipsoid::MassMatrix() const | ^~~~~~~~ /usr/include/ignition/math6/ignition/math/detail/Ellipsoid.hh:77:1: note: ‘std::optional’ is only available from C++17 onwards 77 | std::optional< MassMatrix3 > Ellipsoid::MassMatrix() const | ^~~ In file included from /usr/include/sdformat-9.5/sdf/Element.hh:28, from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/sdformat-9.5/sdf/Param.hh:72:57: error: expected constructor, destructor, or type conversion before ‘;’ token 72 | template ParamStreamer(T) -> ParamStreamer; | ^ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ 83 | ParamStreamer> sv) | ^~~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:57: error: expected parameter pack before ‘...’ 83 | ParamStreamer> sv) | ^~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:57: error: template argument 1 is invalid /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ 83 | ParamStreamer> sv) | ^~~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:57: error: expected parameter pack before ‘...’ 83 | ParamStreamer> sv) | ^~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:60: error: template argument 1 is invalid 83 | ParamStreamer> sv) | ^~ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ 83 | ParamStreamer> sv) | ^~~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:47: error: ‘variant’ is not a member of ‘std’ /usr/include/sdformat-9.5/sdf/Param.hh:83:47: note: ‘std::variant’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:83:57: error: expected parameter pack before ‘...’ 83 | ParamStreamer> sv) | ^~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:60: error: template argument 1 is invalid 83 | ParamStreamer> sv) | ^~ /usr/include/sdformat-9.5/sdf/Param.hh:83:28: error: ‘ParamStreamer’ is not a type 83 | ParamStreamer> sv) | ^~~~~~~~~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:83:41: error: expected ‘,’ or ‘...’ before ‘<’ token 83 | ParamStreamer> sv) | ^ /usr/include/sdformat-9.5/sdf/Param.hh: In function ‘std::ostream& sdf::v9::operator<<(std::ostream&, int)’: /usr/include/sdformat-9.5/sdf/Param.hh:85:10: error: ‘visit’ is not a member of ‘std’ 85 | std::visit([&os](auto const &v) | ^~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:85:10: note: ‘std::visit’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:85:22: error: use of ‘auto’ in lambda parameter declaration only available with ‘-std=c++14’ or ‘-std=gnu++14’ 85 | std::visit([&os](auto const &v) | ^~~~ /usr/include/sdformat-9.5/sdf/Param.hh: In lambda function: /usr/include/sdformat-9.5/sdf/Param.hh:87:28: error: missing template arguments before ‘{’ token 87 | os << ParamStreamer{v}; | ^ /usr/include/sdformat-9.5/sdf/Param.hh: In function ‘std::ostream& sdf::v9::operator<<(std::ostream&, int)’: /usr/include/sdformat-9.5/sdf/Param.hh:88:10: error: ‘sv’ was not declared in this scope 88 | }, sv.val); | ^~ /usr/include/sdformat-9.5/sdf/Param.hh: At global scope: /usr/include/sdformat-9.5/sdf/Param.hh:173:30: error: ‘std::any’ has not been declared 173 | public: bool GetAny(std::any &_anyVal) const; | ^~~ /usr/include/sdformat-9.5/sdf/Param.hh:242:32: error: ‘any’ is not a member of ‘std’ 242 | public: std::function updateFunc; | ^~~ /usr/include/sdformat-9.5/sdf/Param.hh:242:32: note: ‘std::any’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:242:32: error: ‘any’ is not a member of ‘std’ /usr/include/sdformat-9.5/sdf/Param.hh:242:32: note: ‘std::any’ is only available from C++17 onwards /usr/include/sdformat-9.5/sdf/Param.hh:242:38: error: template argument 1 is invalid 242 | public: std::function updateFunc; | ^ /usr/include/sdformat-9.5/sdf/Param.hh:246:26: error: ‘variant’ in namespace ‘std’ does not name a template type 246 | public: typedef std::variant(this->dataPtr->value); | ^~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:318:25: error: ‘get_if’ is not a member of ‘std’ 318 | T *value = std::get_if(&this->dataPtr->value); | ^~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:318:33: error: expected primary-expression before ‘>’ token 318 | T *value = std::get_if(&this->dataPtr->value); | ^ /usr/include/sdformat-9.5/sdf/Param.hh:318:51: error: ‘class sdf::v9::ParamPrivate’ has no member named ‘value’ 318 | T *value = std::get_if(&this->dataPtr->value); | ^~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:324:30: error: missing template arguments before ‘{’ token 324 | ss << ParamStreamer{this->dataPtr->value}; | ^ /usr/include/sdformat-9.5/sdf/Param.hh: In member function ‘bool sdf::v9::Param::GetDefault(T&) const’: /usr/include/sdformat-9.5/sdf/Param.hh:349:26: error: missing template arguments before ‘{’ token 349 | ss << ParamStreamer{this->dataPtr->defaultValue}; | ^ /usr/include/sdformat-9.5/sdf/Param.hh: In member function ‘bool sdf::v9::Param::IsType() const’: /usr/include/sdformat-9.5/sdf/Param.hh:369:17: error: ‘holds_alternative’ is not a member of ‘std’ 369 | return std::holds_alternative(this->dataPtr->value); | ^~~~~~~~~~~~~~~~~ /usr/include/sdformat-9.5/sdf/Param.hh:369:39: error: expected primary-expression before ‘>’ token 369 | return std::holds_alternative(this->dataPtr->value); | ^ /usr/include/sdformat-9.5/sdf/Param.hh:369:56: error: ‘class sdf::v9::ParamPrivate’ has no member named ‘value’ 369 | return std::holds_alternative(this->dataPtr->value); | ^~~~~ In file included from /usr/include/sdformat-9.5/sdf/Actor.hh:25, from /usr/include/sdformat-9.5/sdf/sdf.hh:2, from /usr/include/gazebo-11/gazebo/common/Battery.hh:25, from /usr/include/gazebo-11/gazebo/common/common.hh:8, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/sdformat-9.5/sdf/Element.hh: At global scope: /usr/include/sdformat-9.5/sdf/Element.hh:237:18: error: ‘any’ in namespace ‘std’ does not name a type 237 | public: std::any GetAny(const std::string &_key = "") const; | ^~~ /usr/include/sdformat-9.5/sdf/Element.hh:237:13: note: ‘std::any’ is only available from C++17 onwards 237 | public: std::any GetAny(const std::string &_key = "") const; | ^~~ In file included from /usr/include/ignition/transport8/ignition/transport/Node.hh:42, from /usr/include/gazebo-11/gazebo/physics/Entity.hh:25, from /usr/include/gazebo-11/gazebo/physics/Model.hh:30, from /usr/include/gazebo-11/gazebo/physics/Actor.hh:27, from /usr/include/gazebo-11/gazebo/physics/physics.hh:2, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:55, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/transport8/ignition/transport/NodeShared.hh:298:20: error: ‘optional’ in namespace ‘std’ does not name a template type 298 | public: std::optional TopicStats( | ^~~~~~~~ /usr/include/ignition/transport8/ignition/transport/NodeShared.hh:298:15: note: ‘std::optional’ is only available from C++17 onwards 298 | public: std::optional TopicStats( | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/Entity.hh:25, from /usr/include/gazebo-11/gazebo/physics/Model.hh:30, from /usr/include/gazebo-11/gazebo/physics/Actor.hh:27, from /usr/include/gazebo-11/gazebo/physics/physics.hh:2, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:55, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/transport8/ignition/transport/Node.hh:740:20: error: ‘optional’ in namespace ‘std’ does not name a template type 740 | public: std::optional TopicStats( | ^~~~~~~~ /usr/include/ignition/transport8/ignition/transport/Node.hh:740:15: note: ‘std::optional’ is only available from C++17 onwards 740 | public: std::optional TopicStats( | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/Entity.hh:35, from /usr/include/gazebo-11/gazebo/physics/Model.hh:30, from /usr/include/gazebo-11/gazebo/physics/Actor.hh:27, from /usr/include/gazebo-11/gazebo/physics/physics.hh:2, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:55, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/gazebo-11/gazebo/physics/Base.hh:323:28: error: ‘optional’ in namespace ‘std’ does not name a template type 323 | public: virtual std::optional SDFSemanticPose() const; | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Base.hh:323:23: note: ‘std::optional’ is only available from C++17 onwards 323 | public: virtual std::optional SDFSemanticPose() const; | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/Actor.hh:27, from /usr/include/gazebo-11/gazebo/physics/physics.hh:2, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:55, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/gazebo-11/gazebo/physics/Model.hh:478:20: error: ‘optional’ in namespace ‘std’ does not name a template type 478 | public: std::optional SDFSemanticPose() const override; | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Model.hh:478:15: note: ‘std::optional’ is only available from C++17 onwards 478 | public: std::optional SDFSemanticPose() const override; | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/BallJoint.hh:25, from /usr/include/gazebo-11/gazebo/physics/physics.hh:6, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:55, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/gazebo-11/gazebo/physics/Joint.hh:594:28: error: ‘optional’ in namespace ‘std’ does not name a template type 594 | public: virtual std::optional SDFSemanticPose() | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Joint.hh:594:23: note: ‘std::optional’ is only available from C++17 onwards 594 | public: virtual std::optional SDFSemanticPose() | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:9, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:55, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/gazebo-11/gazebo/physics/Collision.hh:205:28: error: ‘optional’ in namespace ‘std’ does not name a template type 205 | public: virtual std::optional SDFSemanticPose() | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Collision.hh:205:23: note: ‘std::optional’ is only available from C++17 onwards 205 | public: virtual std::optional SDFSemanticPose() | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:26, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:55, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/gazebo-11/gazebo/physics/Light.hh:78:20: error: ‘optional’ in namespace ‘std’ does not name a template type 78 | public: std::optional SDFSemanticPose() const override; | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Light.hh:78:15: note: ‘std::optional’ is only available from C++17 onwards 78 | public: std::optional SDFSemanticPose() const override; | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:28, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:55, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/gazebo-11/gazebo/physics/Link.hh:617:20: error: ‘optional’ in namespace ‘std’ does not name a template type 617 | public: std::optional SDFSemanticPose() const override; | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/Link.hh:617:15: note: ‘std::optional’ is only available from C++17 onwards 617 | public: std::optional SDFSemanticPose() const override; | ^~~ In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:36, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:55, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh: In static member function ‘static T gazebo::physics::PhysicsEngine::any_cast(const boost::any&)’: /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:274:45: error: ‘any’ is not a member of ‘std’ 274 | auto value = boost::any_cast(_value); | ^~~ /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:274:45: note: ‘std::any’ is only available from C++17 onwards /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:274:45: error: ‘any’ is not a member of ‘std’ /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:274:45: note: ‘std::any’ is only available from C++17 onwards /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:275:23: error: ‘any_cast’ is not a member of ‘std’ 275 | return std::any_cast(value); | ^~~~~~~~ /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:275:23: note: ‘std::any_cast’ is only available from C++17 onwards /usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:275:33: error: expected primary-expression before ‘>’ token 275 | return std::any_cast(value); | ^ In file included from /usr/include/gazebo-11/gazebo/transport/Connection.hh:20, from /usr/include/gazebo-11/gazebo/transport/transport.hh:3, from /usr/include/gazebo-11/gazebo/gazebo_core.hh:21, from /usr/include/gazebo-11/gazebo/gazebo.hh:20, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:56, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/tbb/task.h: At global scope: /usr/include/tbb/task.h:21:139: note: ‘#pragma message: TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’ 21 | #pragma message("TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.") | ^ In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh: In instantiation of ‘std::tuple<_Tps ...> ignition::math::v6::breakDownDurations(DurationIn) [with Durations = {std::chrono::duration >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration >}; DurationIn = std::chrono::duration >]’: /usr/include/ignition/math6/ignition/math/Helpers.hh:828:73: required from here /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: no matching function for call to ‘get > >(std::tuple >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration > >&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/c++/11.1.0/algorithm:60, from /usr/include/boost/math/tools/config.hpp:18, from /usr/include/boost/math/special_functions/round.hpp:13, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/utility:223:5: note: candidate: ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)’ 223 | get(pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:223:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/algorithm:60, from /usr/include/boost/math/tools/config.hpp:18, from /usr/include/boost/math/special_functions/round.hpp:13, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/utility:228:5: note: candidate: ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)’ 228 | get(pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:228:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/algorithm:60, from /usr/include/boost/math/tools/config.hpp:18, from /usr/include/boost/math/special_functions/round.hpp:13, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/utility:233:5: note: candidate: ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)’ 233 | get(const pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:233:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/algorithm:60, from /usr/include/boost/math/tools/config.hpp:18, from /usr/include/boost/math/special_functions/round.hpp:13, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/utility:238:5: note: candidate: ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)’ 238 | get(const pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:238:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/array:361:5: note: candidate: ‘template constexpr _Tp& std::get(std::array<_Tp, _Nm>&)’ 361 | get(array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:361:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr _Tp& std::get(std::array<_Tp, _Nm>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/array:369:5: note: candidate: ‘template constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)’ 369 | get(array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:369:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/array:377:5: note: candidate: ‘template constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)’ 377 | get(const array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:377:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/array:385:5: note: candidate: ‘template constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)’ 385 | get(const array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:385:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/tuple:1377:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)’ 1377 | get(tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1377:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/tuple:1383:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(const std::tuple<_Elements ...>&)’ 1383 | get(const tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1383:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(const std::tuple<_Elements ...>&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/tuple:1389:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(std::tuple<_Elements ...>&&)’ 1389 | get(tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1389:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(std::tuple<_Elements ...>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/tuple:1398:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(const std::tuple<_Elements ...>&&)’ 1398 | get(const tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1398:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(const std::tuple<_Elements ...>&&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /opt/ros/noetic/include/ros/message.h:38, from /opt/ros/noetic/include/ros/publisher.h:33, from /opt/ros/noetic/include/ros/node_handle.h:32, from /opt/ros/noetic/include/ros/ros.h:45, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/boost/array.hpp:439:7: note: candidate: ‘template T& std::get(boost::array&)’ 439 | T &get(boost::array &arr) BOOST_NOEXCEPT { | ^~~ /usr/include/boost/array.hpp:439:7: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template T& std::get(boost::array&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /opt/ros/noetic/include/ros/message.h:38, from /opt/ros/noetic/include/ros/publisher.h:33, from /opt/ros/noetic/include/ros/node_handle.h:32, from /opt/ros/noetic/include/ros/ros.h:45, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/boost/array.hpp:445:13: note: candidate: ‘template const T& std::get(const boost::array&)’ 445 | const T &get(const boost::array &arr) BOOST_NOEXCEPT { | ^~~ /usr/include/boost/array.hpp:445:13: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: error: type/value mismatch at argument 1 in template parameter list for ‘template const T& std::get(const boost::array&)’ 810 | (std::get(retval) = | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:810:29: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: no matching function for call to ‘get > >(std::tuple >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration >, std::chrono::duration > >&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/c++/11.1.0/algorithm:60, from /usr/include/boost/math/tools/config.hpp:18, from /usr/include/boost/math/special_functions/round.hpp:13, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/utility:223:5: note: candidate: ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)’ 223 | get(pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:223:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/algorithm:60, from /usr/include/boost/math/tools/config.hpp:18, from /usr/include/boost/math/special_functions/round.hpp:13, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/utility:228:5: note: candidate: ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)’ 228 | get(pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:228:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/algorithm:60, from /usr/include/boost/math/tools/config.hpp:18, from /usr/include/boost/math/special_functions/round.hpp:13, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/utility:233:5: note: candidate: ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)’ 233 | get(const pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:233:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/algorithm:60, from /usr/include/boost/math/tools/config.hpp:18, from /usr/include/boost/math/special_functions/round.hpp:13, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/utility:238:5: note: candidate: ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)’ 238 | get(const pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/11.1.0/utility:238:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/array:361:5: note: candidate: ‘template constexpr _Tp& std::get(std::array<_Tp, _Nm>&)’ 361 | get(array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:361:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr _Tp& std::get(std::array<_Tp, _Nm>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/array:369:5: note: candidate: ‘template constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)’ 369 | get(array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:369:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/array:377:5: note: candidate: ‘template constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)’ 377 | get(const array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:377:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/tuple:39, from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/array:385:5: note: candidate: ‘template constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)’ 385 | get(const array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/11.1.0/array:385:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/tuple:1377:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)’ 1377 | get(tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1377:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/tuple:1383:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(const std::tuple<_Elements ...>&)’ 1383 | get(const tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1383:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(const std::tuple<_Elements ...>&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/tuple:1389:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(std::tuple<_Elements ...>&&)’ 1389 | get(tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1389:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(std::tuple<_Elements ...>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /usr/include/c++/11.1.0/bits/unique_ptr.h:37, from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /usr/include/boost/math/policies/error_handling.hpp:12, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/noetic/include/ros/time.h:58, from /opt/ros/noetic/include/ros/ros.h:38, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/c++/11.1.0/tuple:1398:5: note: candidate: ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(const std::tuple<_Elements ...>&&)’ 1398 | get(const tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/11.1.0/tuple:1398:5: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(const std::tuple<_Elements ...>&&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /opt/ros/noetic/include/ros/message.h:38, from /opt/ros/noetic/include/ros/publisher.h:33, from /opt/ros/noetic/include/ros/node_handle.h:32, from /opt/ros/noetic/include/ros/ros.h:45, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/boost/array.hpp:439:7: note: candidate: ‘template T& std::get(boost::array&)’ 439 | T &get(boost::array &arr) BOOST_NOEXCEPT { | ^~~ /usr/include/boost/array.hpp:439:7: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template T& std::get(boost::array&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ In file included from /opt/ros/noetic/include/ros/message.h:38, from /opt/ros/noetic/include/ros/publisher.h:33, from /opt/ros/noetic/include/ros/node_handle.h:32, from /opt/ros/noetic/include/ros/ros.h:45, from /opt/ros/noetic/include/control_toolbox/pid.h:39, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:45, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/boost/array.hpp:445:13: note: candidate: ‘template const T& std::get(const boost::array&)’ 445 | const T &get(const boost::array &arr) BOOST_NOEXCEPT { | ^~~ /usr/include/boost/array.hpp:445:13: note: template argument deduction/substitution failed: In file included from /usr/include/ignition/math6/ignition/math/Spline.hh:22, from /usr/include/gazebo-11/gazebo/common/Animation.hh:22, from /usr/include/gazebo-11/gazebo/common/common.hh:5, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/include/gazebo_ros_control/default_robot_hw_sim.h:54, from /tmp/makepkg/ros-noetic-gazebo-ros-control/src/gazebo_ros_pkgs-2.9.2/gazebo_ros_control/src/default_robot_hw_sim.cpp:42: /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: error: type/value mismatch at argument 1 in template parameter list for ‘template const T& std::get(const boost::array&)’ 813 | std::get(retval))))), 0)...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/ignition/math6/ignition/math/Helpers.hh:813:30: note: expected a constant of type ‘long unsigned int’, got ‘std::chrono::duration >’ make[2]: *** [CMakeFiles/default_robot_hw_sim.dir/build.make:76: CMakeFiles/default_robot_hw_sim.dir/src/default_robot_hw_sim.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:905: CMakeFiles/default_robot_hw_sim.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ```
acxz commented 2 years ago

I attempted to build this package and I was able to build it just fine without manually specifying C++17. As such I'll go ahead and close this issue.

If you are still having issues please post a new issue or comment here and I'll reopen it.