Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error when running build.sh #105

Closed
KesiroH opened this issue Jan 1, 2025 · 1 comment
Closed

compile error when running build.sh #105

KesiroH opened this issue Jan 1, 2025 · 1 comment

Comments

@KesiroH
Copy link

KesiroH commented Jan 1, 2025

A lot of problems when running /build.sh .
It seems that something went wrong at compile time, I tried modifying the cmakelists.txt, but it doesn't seem to work.

Here is the output:

In file included from /usr/include/ignition/math6/gz/math/Quaternion.hh:20,
                 from /usr/include/ignition/math6/gz/math/Pose3.hh:20,
                 from /usr/include/ignition/math6/ignition/math/Pose3.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:23,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/Helpers.hh: In function ‘std::chrono::_V2::steady_clock::duration ignition::math::v6::stringToDuration(const string&)’:
/usr/include/ignition/math6/gz/math/Helpers.hh:1062:28: error: ‘chrono_literals’ is not a namespace-name
 1062 |       using namespace std::chrono_literals;
      |                            ^~~~~~~~~~~~~~~
/usr/include/ignition/math6/gz/math/Helpers.hh: In function ‘std::chrono::_V2::steady_clock::time_point ignition::math::v6::stringToTimePoint(const string&)’:
/usr/include/ignition/math6/gz/math/Helpers.hh:1104:28: error: ‘chrono_literals’ is not a namespace-name
 1104 |       using namespace std::chrono_literals;
      |                            ^~~~~~~~~~~~~~~
/usr/include/ignition/math6/gz/math/Helpers.hh:1105:56: error: unable to find numeric literal operator ‘operator""s’
 1105 |       std::chrono::steady_clock::time_point timePoint{-1s};
      |                                                        ^~
/usr/include/ignition/math6/gz/math/Helpers.hh:1105:56: note: use ‘-fext-numeric-literals’ to enable more built-in suffixes
/usr/include/ignition/math6/gz/math/Helpers.hh:1105:58: error: no matching function for call to ‘std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long int, std::ratio<1, 1000000000> > >::time_point(<brace-enclosed initializer list>)’
 1105 |       std::chrono::steady_clock::time_point timePoint{-1s};
      |                                                          ^
In file included from /usr/include/c++/9/mutex:39,
                 from /usr/include/boost/system/detail/std_interoperability.hpp:13,
                 from /usr/include/boost/system/error_code.hpp:959,
                 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 /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:24,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/c++/9/chrono:643:14: note: candidate: ‘template<class _Dur2, class> constexpr std::chrono::time_point<_Clock, _Dur>::time_point(const std::chrono::time_point<_Clock, _Dur2>&)’
  643 |    constexpr time_point(const time_point<clock, _Dur2>& __t)
      |              ^~~~~~~~~~
/usr/include/c++/9/chrono:643:14: note:   template argument deduction/substitution failed:
/usr/include/c++/9/chrono:636:21: note: candidate: ‘constexpr std::chrono::time_point<_Clock, _Dur>::time_point(const duration&) [with _Clock = std::chrono::_V2::steady_clock; _Dur = std::chrono::duration<long int, std::ratio<1, 1000000000> >; std::chrono::time_point<_Clock, _Dur>::duration = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’
  636 |  constexpr explicit time_point(const duration& __dur)
      |                     ^~~~~~~~~~
/usr/include/c++/9/chrono:636:21: note:   conversion of argument 1 would be ill-formed:
/usr/include/c++/9/chrono:633:12: note: candidate: ‘constexpr std::chrono::time_point<_Clock, _Dur>::time_point() [with _Clock = std::chrono::_V2::steady_clock; _Dur = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’
  633 |  constexpr time_point() : __d(duration::zero())
      |            ^~~~~~~~~~
/usr/include/c++/9/chrono:633:12: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/9/chrono:626:14: note: candidate: ‘constexpr std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long int, std::ratio<1, 1000000000> > >::time_point(const std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long int, std::ratio<1, 1000000000> > >&)’
  626 |       struct time_point
      |              ^~~~~~~~~~
/usr/include/c++/9/chrono:626:14: note:   conversion of argument 1 would be ill-formed:
/usr/include/c++/9/chrono:626:14: note: candidate: ‘constexpr std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long int, std::ratio<1, 1000000000> > >::time_point(std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long int, std::ratio<1, 1000000000> > >&&)’
/usr/include/c++/9/chrono:626:14: note:   conversion of argument 1 would be ill-formed:
In file included from /usr/include/ignition/math6/gz/math/Box.hh:23,
                 from /usr/include/ignition/math6/gz/math.hh:30,
                 from /usr/include/ignition/math6/ignition/math.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Param.hh:33,
                 from /usr/include/sdformat-9.8/sdf/Element.hh:28,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:25,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/Plane.hh: At global scope:
/usr/include/ignition/math6/gz/math/Plane.hh:133:20: error: ‘optional’ in namespace ‘std’ does not name a template type
  133 |       public: std::optional<Vector3<T>> Intersection(
      |                    ^~~~~~~~
/usr/include/ignition/math6/gz/math/Plane.hh:133:15: note: ‘std::optional’ is only available from C++17 onwards
  133 |       public: std::optional<Vector3<T>> Intersection(
      |               ^~~
In file included from /usr/include/ignition/math6/gz/math.hh:30,
                 from /usr/include/ignition/math6/ignition/math.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Param.hh:33,
                 from /usr/include/sdformat-9.8/sdf/Element.hh:28,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:25,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/Box.hh:151:20: error: ‘optional’ in namespace ‘std’ does not name a template type
  151 |       public: std::optional<Vector3<Precision>>
      |                    ^~~~~~~~
/usr/include/ignition/math6/gz/math/Box.hh:151:15: note: ‘std::optional’ is only available from C++17 onwards
  151 |       public: std::optional<Vector3<Precision>>
      |               ^~~
In file included from /usr/include/ignition/math6/gz/math/Box.hh:224,
                 from /usr/include/ignition/math6/gz/math.hh:30,
                 from /usr/include/ignition/math6/ignition/math.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Param.hh:33,
                 from /usr/include/sdformat-9.8/sdf/Element.hh:28,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:25,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/detail/Box.hh:237:6: error: ‘optional’ in namespace ‘std’ does not name a template type
  237 | std::optional<Vector3<T>>
      |      ^~~~~~~~
`/usr/include/ignition/math6/gz/math/detail/Box.hh:237:1:` note: ‘std::optional’ is only available from C++17 onwards
  237 | std::optional<Vector3<T>>
      | ^~~
In file included from /usr/include/ignition/math6/gz/math.hh:31,
                 from /usr/include/ignition/math6/ignition/math.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Param.hh:33,
                 from /usr/include/sdformat-9.8/sdf/Element.hh:28,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:25,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/Capsule.hh:91:20: error: ‘optional’ in namespace ‘std’ does not name a template type
   91 |       public: std::optional< MassMatrix3<Precision> > MassMatrix() const;
      |                    ^~~~~~~~
/usr/include/ignition/math6/gz/math/Capsule.hh:91:15: note: ‘std::optional’ is only available from C++17 onwards
   91 |       public: std::optional< MassMatrix3<Precision> > MassMatrix() const;
      |               ^~~
In file included from /usr/include/ignition/math6/gz/math/Capsule.hh:149,
                 from /usr/include/ignition/math6/gz/math.hh:31,
                 from /usr/include/ignition/math6/ignition/math.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Param.hh:33,
                 from /usr/include/sdformat-9.8/sdf/Element.hh:28,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:25,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/detail/Capsule.hh:100:6: error: ‘optional’ in namespace ‘std’ does not name a template type
  100 | std::optional< MassMatrix3<T> > Capsule<T>::MassMatrix() const
      |      ^~~~~~~~
/usr/include/ignition/math6/gz/math/detail/Capsule.hh:100:1: note: ‘std::optional’ is only available from C++17 onwards
  100 | std::optional< MassMatrix3<T> > Capsule<T>::MassMatrix() const
      | ^~~
In file included from /usr/include/ignition/math6/gz/math.hh:35,
                 from /usr/include/ignition/math6/ignition/math.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Param.hh:33,
                 from /usr/include/sdformat-9.8/sdf/Element.hh:28,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:25,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/Ellipsoid.hh:77:20: error: ‘optional’ in namespace ‘std’ does not name a template type
   77 |       public: std::optional< MassMatrix3<Precision> > MassMatrix() const;
      |                    ^~~~~~~~
/usr/include/ignition/math6/gz/math/Ellipsoid.hh:77:15: note: ‘std::optional’ is only available from C++17 onwards
   77 |       public: std::optional< MassMatrix3<Precision> > MassMatrix() const;
      |               ^~~
In file included from /usr/include/ignition/math6/gz/math/Ellipsoid.hh:132,
                 from /usr/include/ignition/math6/gz/math.hh:35,
                 from /usr/include/ignition/math6/ignition/math.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Param.hh:33,
                 from /usr/include/sdformat-9.8/sdf/Element.hh:28,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:25,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/detail/Ellipsoid.hh:77:6: error: ‘optional’ in namespace ‘std’ does not name a template type
   77 | std::optional< MassMatrix3<T> > Ellipsoid<T>::MassMatrix() const
      |      ^~~~~~~~
/usr/include/ignition/math6/gz/math/detail/Ellipsoid.hh:77:1: note: ‘std::optional’ is only available from C++17 onwards
   77 | std::optional< MassMatrix3<T> > Ellipsoid<T>::MassMatrix() const
      | ^~~
In file included from /usr/include/ignition/math6/gz/math.hh:67,
                 from /usr/include/ignition/math6/ignition/math.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Param.hh:33,
                 from /usr/include/sdformat-9.8/sdf/Element.hh:28,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:25,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/Sphere.hh:109:20: error: ‘optional’ in namespace ‘std’ does not name a template type
  109 |       public: std::optional<Vector3<Precision>>
      |                    ^~~~~~~~
/usr/include/ignition/math6/gz/math/Sphere.hh:109:15: note: ‘std::optional’ is only available from C++17 onwards
  109 |       public: std::optional<Vector3<Precision>>
      |               ^~~
In file included from /usr/include/ignition/math6/gz/math/Sphere.hh:157,
                 from /usr/include/ignition/math6/gz/math.hh:67,
                 from /usr/include/ignition/math6/ignition/math.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Param.hh:33,
                 from /usr/include/sdformat-9.8/sdf/Element.hh:28,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:25,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/detail/Sphere.hh:123:6: error: ‘optional’ in namespace ‘std’ does not name a template type
  123 | std::optional<Vector3<T>>
      |      ^~~~~~~~
/usr/include/ignition/math6/gz/math/detail/Sphere.hh:123:1: note: ‘std::optional’ is only available from C++17 onwards
  123 | std::optional<Vector3<T>>
      | ^~~
In file included from /usr/include/sdformat-9.8/sdf/Element.hh:28,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:25,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/sdformat-9.8/sdf/Param.hh:72:57: error: expected constructor, destructor, or type conversion before ‘;’ token

  294 |     else if constexpr (std::is_same_v<T, std::uint64_t>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:294:40: error: expected primary-expression before ‘,’ token
  294 |     else if constexpr (std::is_same_v<T, std::uint64_t>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:294:55: error: expected primary-expression before ‘>’ token
  294 |     else if constexpr (std::is_same_v<T, std::uint64_t>)
      |                                                       ^
/usr/include/sdformat-9.8/sdf/Param.hh:294:56: error: expected primary-expression before ‘)’ token
  294 |     else if constexpr (std::is_same_v<T, std::uint64_t>)
      |                                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:296:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  296 |     else if constexpr (std::is_same_v<T, unsigned int>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:296:40: error: expected primary-expression before ‘,’ token
  296 |     else if constexpr (std::is_same_v<T, unsigned int>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:296:42: error: expected primary-expression before ‘unsigned’
  296 |     else if constexpr (std::is_same_v<T, unsigned int>)
      |                                          ^~~~~~~~
/usr/include/sdformat-9.8/sdf/Param.hh:296:41: error: expected ‘)’ before ‘unsigned’
  296 |     else if constexpr (std::is_same_v<T, unsigned int>)
      |                       ~                 ^~~~~~~~~
      |                                         )
/usr/include/sdformat-9.8/sdf/Param.hh:298:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  298 |     else if constexpr (std::is_same_v<T, double>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:298:40: error: expected primary-expression before ‘,’ token
  298 |     else if constexpr (std::is_same_v<T, double>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:298:42: error: expected primary-expression before ‘double’
  298 |     else if constexpr (std::is_same_v<T, double>)
      |                                          ^~~~~~
/usr/include/sdformat-9.8/sdf/Param.hh:298:41: error: expected ‘)’ before ‘double’
  298 |     else if constexpr (std::is_same_v<T, double>)
      |                       ~                 ^~~~~~~
      |                                         )
/usr/include/sdformat-9.8/sdf/Param.hh:300:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  300 |     else if constexpr (std::is_same_v<T, float>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:300:40: error: expected primary-expression before ‘,’ token
  300 |     else if constexpr (std::is_same_v<T, float>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:300:42: error: expected primary-expression before ‘float’
  300 |     else if constexpr (std::is_same_v<T, float>)
      |                                          ^~~~~
/usr/include/sdformat-9.8/sdf/Param.hh:300:41: error: expected ‘)’ before ‘float’
  300 |     else if constexpr (std::is_same_v<T, float>)
      |                       ~                 ^~~~~~
      |                                         )
/usr/include/sdformat-9.8/sdf/Param.hh:302:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  302 |     else if constexpr (std::is_same_v<T, sdf::Time>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:302:40: error: expected primary-expression before ‘,’ token
  302 |     else if constexpr (std::is_same_v<T, sdf::Time>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:302:51: error: expected primary-expression before ‘>’ token
  302 |     else if constexpr (std::is_same_v<T, sdf::Time>)
      |                                                   ^
/usr/include/sdformat-9.8/sdf/Param.hh:302:52: error: expected primary-expression before ‘)’ token
  302 |     else if constexpr (std::is_same_v<T, sdf::Time>)
      |                                                    ^
/usr/include/sdformat-9.8/sdf/Param.hh:304:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  304 |     else if constexpr (std::is_same_v<T, ignition::math::Angle>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:304:40: error: expected primary-expression before ‘,’ token
  304 |     else if constexpr (std::is_same_v<T, ignition::math::Angle>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:304:63: error: expected primary-expression before ‘>’ token
  304 |     else if constexpr (std::is_same_v<T, ignition::math::Angle>)
      |                                                               ^
/usr/include/sdformat-9.8/sdf/Param.hh:304:64: error: expected primary-expression before ‘)’ token
  304 |     else if constexpr (std::is_same_v<T, ignition::math::Angle>)
      |                                                                ^
/usr/include/sdformat-9.8/sdf/Param.hh:306:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  306 |     else if constexpr (std::is_same_v<T, ignition::math::Color>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:306:40: error: expected primary-expression before ‘,’ token
  306 |     else if constexpr (std::is_same_v<T, ignition::math::Color>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:306:63: error: expected primary-expression before ‘>’ token
  306 |     else if constexpr (std::is_same_v<T, ignition::math::Color>)
      |                                                               ^
/usr/include/sdformat-9.8/sdf/Param.hh:306:64: error: expected primary-expression before ‘)’ token
  306 |     else if constexpr (std::is_same_v<T, ignition::math::Color>)
      |                                                                ^
/usr/include/sdformat-9.8/sdf/Param.hh:308:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  308 |     else if constexpr (std::is_same_v<T, ignition::math::Vector2i>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:308:40: error: expected primary-expression before ‘,’ token
  308 |     else if constexpr (std::is_same_v<T, ignition::math::Vector2i>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:308:66: error: expected primary-expression before ‘>’ token
  308 |     else if constexpr (std::is_same_v<T, ignition::math::Vector2i>)
      |                                                                  ^
/usr/include/sdformat-9.8/sdf/Param.hh:308:67: error: expected primary-expression before ‘)’ token
  308 |     else if constexpr (std::is_same_v<T, ignition::math::Vector2i>)
      |                                                                   ^
/usr/include/sdformat-9.8/sdf/Param.hh:310:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  310 |     else if constexpr (std::is_same_v<T, ignition::math::Vector2d>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:310:40: error: expected primary-expression before ‘,’ token
  310 |     else if constexpr (std::is_same_v<T, ignition::math::Vector2d>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:310:66: error: expected primary-expression before ‘>’ token
  310 |     else if constexpr (std::is_same_v<T, ignition::math::Vector2d>)
      |                                                                  ^
/usr/include/sdformat-9.8/sdf/Param.hh:310:67: error: expected primary-expression before ‘)’ token
  310 |     else if constexpr (std::is_same_v<T, ignition::math::Vector2d>)
      |                                                                   ^
/usr/include/sdformat-9.8/sdf/Param.hh:312:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  312 |     else if constexpr (std::is_same_v<T, ignition::math::Vector3d>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:312:40: error: expected primary-expression before ‘,’ token
  312 |     else if constexpr (std::is_same_v<T, ignition::math::Vector3d>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:312:66: error: expected primary-expression before ‘>’ token
  312 |     else if constexpr (std::is_same_v<T, ignition::math::Vector3d>)
      |                                                                  ^
/usr/include/sdformat-9.8/sdf/Param.hh:312:67: error: expected primary-expression before ‘)’ token
  312 |     else if constexpr (std::is_same_v<T, ignition::math::Vector3d>)
      |                                                                   ^
/usr/include/sdformat-9.8/sdf/Param.hh:314:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  314 |     else if constexpr (std::is_same_v<T, ignition::math::Quaterniond>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:314:40: error: expected primary-expression before ‘,’ token
  314 |     else if constexpr (std::is_same_v<T, ignition::math::Quaterniond>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:314:69: error: expected primary-expression before ‘>’ token
  314 |     else if constexpr (std::is_same_v<T, ignition::math::Quaterniond>)
      |                                                                     ^
/usr/include/sdformat-9.8/sdf/Param.hh:314:70: error: expected primary-expression before ‘)’ token
  314 |     else if constexpr (std::is_same_v<T, ignition::math::Quaterniond>)
      |                                                                      ^
/usr/include/sdformat-9.8/sdf/Param.hh:316:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  316 |     else if constexpr (std::is_same_v<T, ignition::math::Pose3d>)
      |                             ^~~~~~~~~
      |                             is_same
/usr/include/sdformat-9.8/sdf/Param.hh:316:40: error: expected primary-expression before ‘,’ token
  316 |     else if constexpr (std::is_same_v<T, ignition::math::Pose3d>)
      |                                        ^
/usr/include/sdformat-9.8/sdf/Param.hh:316:64: error: expected primary-expression before ‘>’ token
  316 |     else if constexpr (std::is_same_v<T, ignition::math::Pose3d>)
      |                                                                ^
/usr/include/sdformat-9.8/sdf/Param.hh:316:65: error: expected primary-expression before ‘)’ token
  316 |     else if constexpr (std::is_same_v<T, ignition::math::Pose3d>)
      |                                                                 ^
/usr/include/sdformat-9.8/sdf/Param.hh: In member function ‘bool sdf::v9::Param::Get(T&) const’:
/usr/include/sdformat-9.8/sdf/Param.hh:353:21: error: ‘get_if’ is not a member of ‘std’; did you mean ‘get_time’?
  353 |     T *value = std::get_if<T>(&this->dataPtr->value);
      |                     ^~~~~~
      |                     get_time
/usr/include/sdformat-9.8/sdf/Param.hh:353:29: error: expected primary-expression before ‘>’ token
  353 |     T *value = std::get_if<T>(&this->dataPtr->value);
      |                             ^
/usr/include/sdformat-9.8/sdf/Param.hh:353:47: error: ‘class sdf::v9::ParamPrivate’ has no member named ‘value’
  353 |     T *value = std::get_if<T>(&this->dataPtr->value);
      |                                               ^~~~~
/usr/include/sdformat-9.8/sdf/Param.hh:368:21: error: ‘ParamVariant’ is not a member of ‘sdf::v9::ParamPrivate’
  368 |       ParamPrivate::ParamVariant pv;
      |                     ^~~~~~~~~~~~
/usr/include/sdformat-9.8/sdf/Param.hh:369:76: error: ‘pv’ was not declared in this scope
  369 |       bool success = this->dataPtr->ValueFromStringImpl(typeStr, valueStr, pv);
      |                                                                            ^~
/usr/include/sdformat-9.8/sdf/Param.hh: In member function ‘bool sdf::v9::Param::GetDefault(T&) const’:
/usr/include/sdformat-9.8/sdf/Param.hh:406:26: error: missing template arguments before ‘{’ token
  406 |       ss << ParamStreamer{this->dataPtr->defaultValue};
      |                          ^
/usr/include/sdformat-9.8/sdf/Param.hh: In member function ‘bool sdf::v9::Param::IsType() const’:
/usr/include/sdformat-9.8/sdf/Param.hh:426:17: error: ‘holds_alternative’ is not a member of ‘std’
  426 |     return std::holds_alternative<Type>(this->dataPtr->value);
      |                 ^~~~~~~~~~~~~~~~~
/usr/include/sdformat-9.8/sdf/Param.hh:426:39: error: expected primary-expression before ‘>’ token
  426 |     return std::holds_alternative<Type>(this->dataPtr->value);
      |                                       ^
/usr/include/sdformat-9.8/sdf/Param.hh:426:56: error: ‘class sdf::v9::ParamPrivate’ has no member named ‘value’
  426 |     return std::holds_alternative<Type>(this->dataPtr->value);
      |                                                        ^~~~~
In file included from /usr/include/sdformat-9.8/sdf/Actor.hh:25,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/sdformat-9.8/sdf/Element.hh: At global scope:
/usr/include/sdformat-9.8/sdf/Element.hh:279:18: error: ‘any’ in namespace ‘std’ does not name a type
  279 |     public: std::any GetAny(const std::string &_key = "") const;
      |                  ^~~
/usr/include/sdformat-9.8/sdf/Element.hh:279:13: note: ‘std::any’ is only available from C++17 onwards
  279 |     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 /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:31,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/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<TopicStatistics> 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<TopicStatistics> 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 /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:31,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/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<TopicStatistics> 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<TopicStatistics> 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 /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:31,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/gazebo-11/gazebo/physics/Base.hh:342:28: error: ‘optional’ in namespace ‘std’ does not name a template type
  342 |       public: virtual std::optional<sdf::SemanticPose> SDFSemanticPose() const;
      |                            ^~~~~~~~
/usr/include/gazebo-11/gazebo/physics/Base.hh:342:23: note: ‘std::optional’ is only available from C++17 onwards
  342 |       public: virtual std::optional<sdf::SemanticPose> 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 /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:31,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/gazebo-11/gazebo/physics/Model.hh:486:20: error: ‘optional’ in namespace ‘std’ does not name a template type
  486 |       public: std::optional<sdf::SemanticPose> SDFSemanticPose() const override;
      |                    ^~~~~~~~
/usr/include/gazebo-11/gazebo/physics/Model.hh:486:15: note: ‘std::optional’ is only available from C++17 onwards
  486 |       public: std::optional<sdf::SemanticPose> 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 /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:31,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/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<sdf::SemanticPose> 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<sdf::SemanticPose> SDFSemanticPose()
      |                       ^~~
In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:9,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:31,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/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<sdf::SemanticPose> 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<sdf::SemanticPose> SDFSemanticPose()
      |                       ^~~
In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:26,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:31,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/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<sdf::SemanticPose> 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<sdf::SemanticPose> SDFSemanticPose() const override;
      |               ^~~
In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:28,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:31,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/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<sdf::SemanticPose> 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<sdf::SemanticPose> SDFSemanticPose() const override;
      |               ^~~
In file included from /usr/include/gazebo-11/gazebo/physics/physics.hh:36,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:31,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/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<std::any>(_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<T>(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<T>(value);
      |                                 ^
In file included from /usr/include/ignition/math6/gz/math/Quaternion.hh:20,
                 from /usr/include/ignition/math6/gz/math/Pose3.hh:20,
                 from /usr/include/ignition/math6/ignition/math/Pose3.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:23,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/Helpers.hh: In instantiation of ‘std::tuple<_Tps ...> ignition::math::v6::breakDownDurations(DurationIn) [with Durations = {std::chrono::duration<long unsigned int, std::ratio<86400, 1> >, std::chrono::duration<long int, std::ratio<3600, 1> >, std::chrono::duration<long int, std::ratio<60, 1> >, std::chrono::duration<long int, std::ratio<1, 1> >, std::chrono::duration<long int, std::ratio<1, 1000> >}; DurationIn = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’:
/usr/include/ignition/math6/gz/math/Helpers.hh:854:57:   required from here
/usr/include/ignition/math6/gz/math/Helpers.hh:835:29: error: no matching function for call to ‘get<std::chrono::duration<long unsigned int, std::ratio<86400, 1> > >(std::tuple<std::chrono::duration<long unsigned int, std::ratio<86400, 1> >, std::chrono::duration<long int, std::ratio<3600, 1> >, std::chrono::duration<long int, std::ratio<60, 1> >, std::chrono::duration<long int, std::ratio<1, 1> >, std::chrono::duration<long int, std::ratio<1, 1000> > >&)’
  835 |         (std::get<Durations>(retval) =
      |          ~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /usr/include/c++/9/tuple:38,
                 from /usr/include/c++/9/functional:54,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:17:
/usr/include/c++/9/utility:219:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)’
  219 |     get(std::pair<_Tp1, _Tp2>& __in) noexcept
      |     ^~~
/usr/include/c++/9/utility:219:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/utility:224:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)’
  224 |     get(std::pair<_Tp1, _Tp2>&& __in) noexcept
      |     ^~~
/usr/include/c++/9/utility:224:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/utility:229:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)’
  229 |     get(const std::pair<_Tp1, _Tp2>& __in) noexcept
      |     ^~~
/usr/include/c++/9/utility:229:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/utility:234:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)’
  234 |     get(const std::pair<_Tp1, _Tp2>&& __in) noexcept
      |     ^~~
/usr/include/c++/9/utility:234:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9/tuple:39,
                 from /usr/include/c++/9/functional:54,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:17:
/usr/include/c++/9/array:307:5: note: candidate: ‘template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp& std::get(std::array<_Tp, _Nm>&)’
  307 |     get(array<_Tp, _Nm>& __arr) noexcept
      |     ^~~
/usr/include/c++/9/array:307:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/array:316:5: note: candidate: ‘template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)’
  316 |     get(array<_Tp, _Nm>&& __arr) noexcept
      |     ^~~
/usr/include/c++/9/array:316:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/array:324:5: note: candidate: ‘template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)’
  324 |     get(const array<_Tp, _Nm>& __arr) noexcept
      |     ^~~
/usr/include/c++/9/array:324:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/array:333:5: note: candidate: ‘template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)’
  333 |     get(const array<_Tp, _Nm>&& __arr) noexcept
      |     ^~~
/usr/include/c++/9/array:333:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9/functional:54,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:17:
/usr/include/c++/9/tuple:1320:5: note: candidate: ‘template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)’
 1320 |     get(tuple<_Elements...>& __t) noexcept
      |     ^~~
/usr/include/c++/9/tuple:1320:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/tuple:1326:5: note: candidate: ‘template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(const std::tuple<_Elements ...>&)’
 1326 |     get(const tuple<_Elements...>& __t) noexcept
      |     ^~~
/usr/include/c++/9/tuple:1326:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/tuple:1332:5: note: candidate: ‘template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(std::tuple<_Elements ...>&&)’
 1332 |     get(tuple<_Elements...>&& __t) noexcept
      |     ^~~
/usr/include/c++/9/tuple:1332:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/tuple:1341:5: note: candidate: ‘template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(const std::tuple<_Elements ...>&&)’
 1341 |     get(const tuple<_Elements...>&& __t) noexcept
      |     ^~~
/usr/include/c++/9/tuple:1341:5: note:   template argument deduction/substitution failed:
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 /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:24,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/boost/array.hpp:440:7: note: candidate: ‘template<long unsigned int Idx, class T, long unsigned int N> T& std::get(boost::array<T, N>&)’
  440 |    T &get(boost::array<T,N> &arr) BOOST_NOEXCEPT {
      |       ^~~
/usr/include/boost/array.hpp:440:7: note:   template argument deduction/substitution failed:
/usr/include/boost/array.hpp:446:13: note: candidate: ‘template<long unsigned int Idx, class T, long unsigned int N> const T& std::get(const boost::array<T, N>&)’
  446 |    const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
      |             ^~~
/usr/include/boost/array.hpp:446:13: note:   template argument deduction/substitution failed:
In file included from /usr/include/ignition/math6/gz/math/Quaternion.hh:20,
                 from /usr/include/ignition/math6/gz/math/Pose3.hh:20,
                 from /usr/include/ignition/math6/ignition/math/Pose3.hh:18,
                 from /usr/include/sdformat-9.8/sdf/Actor.hh:23,
                 from /usr/include/sdformat-9.8/sdf/sdf.hh:2,
                 from /usr/include/gazebo-11/gazebo/common/Plugin.hh:33,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:30,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/ignition/math6/gz/math/Helpers.hh:838:30: error: no matching function for call to ‘get<std::chrono::duration<long unsigned int, std::ratio<86400, 1> > >(std::tuple<std::chrono::duration<long unsigned int, std::ratio<86400, 1> >, std::chrono::duration<long int, std::ratio<3600, 1> >, std::chrono::duration<long int, std::ratio<60, 1> >, std::chrono::duration<long int, std::ratio<1, 1> >, std::chrono::duration<long int, std::ratio<1, 1000> > >&)’
  838 |           std::get<Durations>(retval))))), 0)...};
      |           ~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /usr/include/c++/9/tuple:38,
                 from /usr/include/c++/9/functional:54,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:17:
/usr/include/c++/9/utility:219:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)’
  219 |     get(std::pair<_Tp1, _Tp2>& __in) noexcept
      |     ^~~
/usr/include/c++/9/utility:219:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/utility:224:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)’
  224 |     get(std::pair<_Tp1, _Tp2>&& __in) noexcept
      |     ^~~
/usr/include/c++/9/utility:224:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/utility:229:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)’
  229 |     get(const std::pair<_Tp1, _Tp2>& __in) noexcept
      |     ^~~
/usr/include/c++/9/utility:229:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/utility:234:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)’
  234 |     get(const std::pair<_Tp1, _Tp2>&& __in) noexcept
      |     ^~~
/usr/include/c++/9/utility:234:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9/tuple:39,
                 from /usr/include/c++/9/functional:54,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:17:
/usr/include/c++/9/array:307:5: note: candidate: ‘template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp& std::get(std::array<_Tp, _Nm>&)’
  307 |     get(array<_Tp, _Nm>& __arr) noexcept
      |     ^~~
/usr/include/c++/9/array:307:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/array:316:5: note: candidate: ‘template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)’
  316 |     get(array<_Tp, _Nm>&& __arr) noexcept
      |     ^~~
/usr/include/c++/9/array:316:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/array:324:5: note: candidate: ‘template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)’
  324 |     get(const array<_Tp, _Nm>& __arr) noexcept
      |     ^~~
/usr/include/c++/9/array:324:5: note:   template argument deduction/substitution failed:
/usr/include/c++/9/array:333:5: note: candidate: ‘template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)’
  333 |     get(const array<_Tp, _Nm>&& __arr) noexcept
      |     ^~~
/usr/include/c++/9/array:333:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9/functional:54,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:17:
/usr/include/c++/9/tuple:1320:5: note: candidate: ‘template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)’
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 /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/include/pedestrian_visual_plugin.h:24,
                 from /home/kesiro/ros_motion_planning/src/plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/src/pedestrian_visual_plugin.cpp:21:
/usr/include/boost/array.hpp:440:7: note: candidate: ‘template<long unsigned int Idx, class T, long unsigned int N> T& std::get(boost::array<T, N>&)’
  440 |    T &get(boost::array<T,N> &arr) BOOST_NOEXCEPT {
      |       ^~~
/usr/include/boost/array.hpp:440:7: note:   template argument deduction/substitution failed:
/usr/include/boost/array.hpp:446:13: note: candidate: ‘template<long unsigned int Idx, class T, long unsigned int N> const T& std::get(const boost::array<T, N>&)’
  446 |    const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
      |             ^~~
/usr/include/boost/array.hpp:446:13: note:   template argument deduction/substitution failed:
make[2]: *** [plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/CMakeFiles/PedestrianVisualPlugin.dir/build.make:76: plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/CMakeFiles/PedestrianVisualPlugin.dir/src/pedestrian_visual_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6986: plugins/gazebo_plugins/pedestrian_visualizer_plugin/gazebo_ped_visualizer_plugin/CMakeFiles/PedestrianVisualPlugin.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Invoking "make -j24 -l24" failed
@KesiroH
Copy link
Author

KesiroH commented Jan 1, 2025

I removed some snippets because of the maximum word limit, but the type of question should be the same...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants