Closed zhengzaiyi closed 2 years ago
For me, building Open3D v0.9.0 solves the errors for mpl_test_node.
For me, building Open3D v0.9.0 solves the errors for mpl_test_node.
Yes, that's the right way.
I've got Open3D v0.9.0 installed (replaced the latest v.0.15.1 with this in my repo) and it has resolved my error with the _trajsampler package, but this error is not yet resolved in my case. This is the only package that failing as of now. Looks like there are some cmake/C++ compilation errors.
Please help me in this case.
sohamkulkarni@sohamxlegion:~/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros$ catkin build
------------------------------------------------------------------------------------
Profile: default
Extending: [explicit] /opt/ros/noetic
Workspace: /home/sohamkulkarni/agile_autonomy_ws/catkin_aa
------------------------------------------------------------------------------------
Build Space: [exists] /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/build
Devel Space: [exists] /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel
Install Space: [unused] /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/install
Log Space: [exists] /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/logs
Source Space: [exists] /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src
DESTDIR: [unused] None
------------------------------------------------------------------------------------
Devel Space Layout: merged
Install Space Layout: None
------------------------------------------------------------------------------------
Additional CMake Args: -DCMAKE_BUILD_TYPE=Release
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
------------------------------------------------------------------------------------
Buildlisted Packages: None
Skiplisted Packages: None
------------------------------------------------------------------------------------
Workspace configuration appears valid.
------------------------------------------------------------------------------------
[build] Found 71 packages in 0.0 seconds.
[build] Package table is up to date.
Starting >>> catkin_boost_python_buildtool
Starting >>> catkin_simple
Starting >>> decomp_util
Starting >>> mav_msgs
Starting >>> mav_state_machine_msgs
Starting >>> mav_system_msgs
Starting >>> motion_primitive_library
Starting >>> open3d_conversions
Starting >>> rotors_comm
Starting >>> rotors_description
Starting >>> rotors_evaluation
Starting >>> rqt_rotors
Finished <<< catkin_simple [ 0.1 seconds ]
Starting >>> assimp_catkin
Finished <<< rqt_rotors [ 0.1 seconds ]
Finished <<< open3d_conversions [ 0.2 seconds ]
Finished <<< rotors_comm [ 0.2 seconds ]
Finished <<< mav_msgs [ 0.4 seconds ]
Finished <<< mav_state_machine_msgs [ 0.3 seconds ]
Starting >>> decomp_ros_msgs
Starting >>> eigen_catkin
Starting >>> flightrender
Starting >>> gflags_catkin
Starting >>> mav_planning_msgs
Finished <<< rotors_description [ 0.2 seconds ]
Starting >>> minimum_jerk_trajectories
Finished <<< catkin_boost_python_buildtool [ 0.1 seconds ]
Finished <<< mav_system_msgs [ 0.2 seconds ]
Starting >>> catkin_boost_python_buildtool_test
Starting >>> planning_ros_msgs
Finished <<< rotors_evaluation [ 0.1 seconds ]
Starting >>> quad_launch_files
Finished <<< assimp_catkin [ 0.1 seconds ]
Starting >>> quadrotor_msgs
Finished <<< motion_primitive_library [ 0.3 seconds ]
Starting >>> rotors_control
Finished <<< decomp_util [ 0.3 seconds ]
Starting >>> mpl_external_planner
Finished <<< flightrender [ 0.1 seconds ]
Starting >>> rotors_hil_interface
Finished <<< eigen_catkin [ 0.1 seconds ]
Starting >>> numpy_eigen
Finished <<< gflags_catkin [ 0.1 seconds ]
Finished <<< decomp_ros_msgs [ 0.3 seconds ]
Starting >>> decomp_ros_utils
Starting >>> glog_catkin
Finished <<< minimum_jerk_trajectories [ 0.2 seconds ]
Finished <<< catkin_boost_python_buildtool_test [ 0.1 seconds ]
Finished <<< quad_launch_files [ 0.2 seconds ]
Finished <<< mav_planning_msgs [ 0.7 seconds ]
Starting >>> mav_comm
Finished <<< planning_ros_msgs [ 0.5 seconds ]
Starting >>> planning_ros_utils
Starting >>> rotors_joy_interface
Starting >>> rpg_single_board_io
Starting >>> rpgq_msgs
Finished <<< rotors_hil_interface [ 0.2 seconds ]
Finished <<< quadrotor_msgs [ 0.6 seconds ]
Finished <<< numpy_eigen [ 0.2 seconds ]
Finished <<< rotors_control [ 0.5 seconds ]
Finished <<< mpl_external_planner [ 0.5 seconds ]
Starting >>> agile_autonomy_msgs
Finished <<< glog_catkin [ 0.1 seconds ]
Starting >>> eigen_checks
Finished <<< decomp_ros_utils [ 0.3 seconds ]
Starting >>> decomp_test_node
Starting >>> quadrotor_common
Starting >>> rotors_gazebo_plugins
Starting >>> rqt_quad_gui
Starting >>> vbat_thrust_calibration
Finished <<< mav_comm [ 0.1 seconds ]
Finished <<< rpgq_msgs [ 0.3 seconds ]
Starting >>> rpgq_common
Finished <<< rotors_joy_interface [ 0.5 seconds ]
Finished <<< rpg_single_board_io [ 0.4 seconds ]
Finished <<< eigen_checks [ 0.3 seconds ]
Finished <<< agile_autonomy_msgs [ 0.5 seconds ]
Starting >>> minkindr
Finished <<< vbat_thrust_calibration [ 0.2 seconds ]
Finished <<< planning_ros_utils [ 0.9 seconds ]
Finished <<< rqt_quad_gui [ 0.1 seconds ]
Finished <<< decomp_test_node [ 0.3 seconds ]
Finished <<< quadrotor_common [ 0.2 seconds ]
Starting >>> polynomial_trajectories
Starting >>> position_controller
Starting >>> sbus_bridge
Starting >>> state_predictor
Starting >>> trajectory_visualizer
Finished <<< rpgq_common [ 0.2 seconds ]
Finished <<< minkindr [ 0.2 seconds ]
Finished <<< rotors_gazebo_plugins [ 0.5 seconds ]
Starting >>> minkindr_conversions
Starting >>> minkindr_python
Starting >>> rotors_gazebo
Starting >>> rpg_common
Starting >>> rpgq_command_bridge
Starting >>> rpgq_components
Finished <<< position_controller [ 0.3 seconds ]
Finished <<< polynomial_trajectories [ 0.3 seconds ]
Finished <<< state_predictor [ 0.3 seconds ]
Finished <<< trajectory_visualizer [ 0.3 seconds ]
Finished <<< sbus_bridge [ 0.3 seconds ]
Starting >>> manual_flight_assistant
Finished <<< rpgq_components [ 0.2 seconds ]
Finished <<< rpgq_command_bridge [ 0.2 seconds ]
Starting >>> rpgq_simulator
Finished <<< minkindr_python [ 0.2 seconds ]
Finished <<< rpg_common [ 0.2 seconds ]
Starting >>> rpg_rotors_interface
Starting >>> trajectory_generation_helper
Finished <<< rotors_gazebo [ 0.3 seconds ]
Starting >>> rotors_simulator
Finished <<< minkindr_conversions [ 0.1 seconds ]
Finished <<< manual_flight_assistant [ 0.2 seconds ]
Finished <<< rpgq_simulator [ 0.4 seconds ]
Starting >>> example_pcd
Starting >>> example_vision
Starting >>> example_vison
Finished <<< trajectory_generation_helper [ 0.3 seconds ]
Starting >>> autopilot
Finished <<< rpg_rotors_interface [ 0.3 seconds ]
Finished <<< rotors_simulator [ 0.1 seconds ]
Finished <<< example_vision [ 0.1 seconds ]
Finished <<< example_vison [ 0.2 seconds ]
Finished <<< example_pcd [ 0.2 seconds ]
Finished <<< autopilot [ 0.2 seconds ]
Starting >>> agile_autonomy_utils
Starting >>> example_control
Starting >>> planner_learning
Starting >>> rpg_mpc
Starting >>> rpg_quadrotor_integration_test
Finished <<< rpg_quadrotor_integration_test [ 0.1 seconds ]
Finished <<< planner_learning [ 0.1 seconds ]
Finished <<< example_control [ 0.3 seconds ]
Finished <<< agile_autonomy_utils [ 0.3 seconds ]
Starting >>> mpl_test_node
Finished <<< rpg_mpc [ 0.3 seconds ]
Starting >>> agile_autonomy
Starting >>> traj_sampler
Finished <<< traj_sampler [ 0.4 seconds ]
Finished <<< agile_autonomy [ 0.3 seconds ]
__________________________________________________________________________________________________________________________________________________________________________________________________________________
Errors << mpl_test_node:make /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/logs/mpl_test_node/build.make.048.log
In file included from /usr/local/include/open3d/geometry/PointCloud.h:36:0,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_external_planner/include/mpl_external_planner/ellipsoid_planner/ellipsoid_util.h:11,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_external_planner/include/mpl_external_planner/ellipsoid_planner/env_cloud.h:8,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_external_planner/include/mpl_external_planner/ellipsoid_planner/ellipsoid_planner.h:9,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:3:
/usr/local/include/open3d/utility/Optional.h:308:18: error: ‘constexpr T& open3d::utility::optional<T>::contained_val() const &’ cannot be overloaded
constexpr T& contained_val() & { return OptionalBase<T>::storage_.value_; }
^~~~~~~~~~~~~
/usr/local/include/open3d/utility/Optional.h:302:24: error: with ‘constexpr const T& open3d::utility::optional<T>::contained_val() const &’
constexpr const T& contained_val() const& {
^~~~~~~~~~~~~
/usr/local/include/open3d/utility/Optional.h:478:36: error: ‘constexpr T* open3d::utility::optional<T>::operator->() const’ cannot be overloaded
TR2_OPTIONAL_HOST_CONSTEXPR T* operator->() {
^~~~~~~~
/usr/local/include/open3d/utility/Optional.h:474:42: error: with ‘constexpr const T* open3d::utility::optional<T>::operator->() const’
TR2_OPTIONAL_HOST_CONSTEXPR T const* operator->() const {
^~~~~~~~
/usr/local/include/open3d/utility/Optional.h:487:36: error: ‘constexpr T& open3d::utility::optional<T>::operator*() const &’ cannot be overloaded
TR2_OPTIONAL_HOST_CONSTEXPR T& operator*() & {
^~~~~~~~
/usr/local/include/open3d/utility/Optional.h:483:42: error: with ‘constexpr const T& open3d::utility::optional<T>::operator*() const &’
TR2_OPTIONAL_HOST_CONSTEXPR T const& operator*() const& {
^~~~~~~~
/usr/local/include/open3d/utility/Optional.h:504:36: error: ‘constexpr T& open3d::utility::optional<T>::value() const &’ cannot be overloaded
TR2_OPTIONAL_HOST_CONSTEXPR T& value() & {
^~~~~
/usr/local/include/open3d/utility/Optional.h:497:42: error: with ‘constexpr const T& open3d::utility::optional<T>::value() const &’
TR2_OPTIONAL_HOST_CONSTEXPR T const& value() const& {
^~~~~
In file included from /usr/local/include/open3d/core/SizeVector.h:33:0,
from /usr/local/include/open3d/core/ShapeUtil.h:30,
from /usr/local/include/open3d/core/Tensor.h:40,
from /usr/local/include/open3d/core/EigenConverter.h:34,
from /usr/local/include/open3d/Open3D.h:38,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/open3d_conversions/include/open3d_conversions/open3d_conversions.h:19,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:19:
/usr/local/include/open3d/core/SmallVector.h:262:20: error: ‘std::enable_if_t’ has not been declared
std::enable_if_t<
^~~~~~~~~~~
/usr/local/include/open3d/core/SmallVector.h:262:31: error: expected ‘>’ before ‘<’ token
std::enable_if_t<
^
/usr/local/include/open3d/core/SmallVector.h:274:20: error: ‘std::enable_if_t’ has not been declared
std::enable_if_t<
^~~~~~~~~~~
/usr/local/include/open3d/core/SmallVector.h:274:31: error: expected ‘>’ before ‘<’ token
std::enable_if_t<
^
/usr/local/include/open3d/core/SmallVector.h: In member function ‘bool open3d::core::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::isReferenceToRange(const void*, const void*, const void*) const’:
/usr/local/include/open3d/core/SmallVector.h:210:19: error: wrong number of template arguments (0, should be 1)
std::less<> LessThan;
^
In file included from /usr/include/c++/7/string:48:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/istream:38,
from /usr/include/c++/7/sstream:38,
from /usr/include/c++/7/complex:45,
from /usr/include/eigen3/Eigen/Core:96,
from /usr/include/eigen3/Eigen/Geometry:11,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_basis/data_type.h:10,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_basis/lambda.h:9,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_basis/trajectory.h:9,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/planning_ros_utils/include/planning_ros_utils/trajectory_writer.h:3,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:1:
/usr/include/c++/7/bits/stl_function.h:381:12: note: provided for ‘template<class _Tp> struct std::less’
struct less : public binary_function<_Tp, _Tp, bool>
^~~~
In file included from /usr/local/include/open3d/core/SizeVector.h:33:0,
from /usr/local/include/open3d/core/ShapeUtil.h:30,
from /usr/local/include/open3d/core/Tensor.h:40,
from /usr/local/include/open3d/core/EigenConverter.h:34,
from /usr/local/include/open3d/Open3D.h:38,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/open3d_conversions/include/open3d_conversions/open3d_conversions.h:19,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:19:
/usr/local/include/open3d/core/SmallVector.h:211:34: error: ‘LessThan’ cannot be used as a function
return !LessThan(V, First) && LessThan(V, Last);
^
/usr/local/include/open3d/core/SmallVector.h:211:55: error: ‘LessThan’ cannot be used as a function
return !LessThan(V, First) && LessThan(V, Last);
^
/usr/local/include/open3d/core/SmallVector.h: In member function ‘bool open3d::core::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::isRangeInStorage(const void*, const void*) const’:
/usr/local/include/open3d/core/SmallVector.h:223:19: error: wrong number of template arguments (0, should be 1)
std::less<> LessThan;
^
In file included from /usr/include/c++/7/string:48:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/istream:38,
from /usr/include/c++/7/sstream:38,
from /usr/include/c++/7/complex:45,
from /usr/include/eigen3/Eigen/Core:96,
from /usr/include/eigen3/Eigen/Geometry:11,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_basis/data_type.h:10,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_basis/lambda.h:9,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_basis/trajectory.h:9,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/planning_ros_utils/include/planning_ros_utils/trajectory_writer.h:3,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:1:
/usr/include/c++/7/bits/stl_function.h:381:12: note: provided for ‘template<class _Tp> struct std::less’
struct less : public binary_function<_Tp, _Tp, bool>
^~~~
In file included from /usr/local/include/open3d/core/SizeVector.h:33:0,
from /usr/local/include/open3d/core/ShapeUtil.h:30,
from /usr/local/include/open3d/core/Tensor.h:40,
from /usr/local/include/open3d/core/EigenConverter.h:34,
from /usr/local/include/open3d/Open3D.h:38,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/open3d_conversions/include/open3d_conversions/open3d_conversions.h:19,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:19:
/usr/local/include/open3d/core/SmallVector.h:224:72: error: ‘LessThan’ cannot be used as a function
return !LessThan(First, this->begin()) && !LessThan(Last, First) &&
^
/usr/local/include/open3d/core/SmallVector.h: At global scope:
/usr/local/include/open3d/core/SmallVector.h:573:18: error: ‘std::enable_if_t’ has not been declared
std::enable_if_t<std::is_same<typename std::remove_const<T1>::type,
^~~~~~~~~~~
/usr/local/include/open3d/core/SmallVector.h:573:29: error: expected ‘,’ or ‘...’ before ‘<’ token
std::enable_if_t<std::is_same<typename std::remove_const<T1>::type,
^
/usr/local/include/open3d/core/SmallVector.h:740:31: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
typename = std::enable_if_t<std::is_convertible<
^~~~~~~~~~~
/usr/local/include/open3d/core/SmallVector.h:740:42: error: expected ‘>’ before ‘<’ token
typename = std::enable_if_t<std::is_convertible<
^
/usr/local/include/open3d/core/SmallVector.h:782:31: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
typename = std::enable_if_t<std::is_convertible<
^~~~~~~~~~~
/usr/local/include/open3d/core/SmallVector.h:782:42: error: expected ‘>’ before ‘<’ token
typename = std::enable_if_t<std::is_convertible<
^
/usr/local/include/open3d/core/SmallVector.h:945:31: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
typename = std::enable_if_t<std::is_convertible<
^~~~~~~~~~~
/usr/local/include/open3d/core/SmallVector.h:945:42: error: expected ‘>’ before ‘<’ token
typename = std::enable_if_t<std::is_convertible<
^
/usr/local/include/open3d/core/SmallVector.h: In member function ‘open3d::core::SmallVectorImpl<T>::iterator open3d::core::SmallVectorImpl<T>::insert_one_impl(open3d::core::SmallVectorImpl<T>::iterator, ArgType&&)’:
/usr/local/include/open3d/core/SmallVector.h:836:30: error: ‘remove_const_t’ is not a member of ‘std’
std::remove_const_t<std::remove_reference_t<ArgType>>,
^~~~~~~~~~~~~~
/usr/local/include/open3d/core/SmallVector.h:836:30: note: suggested alternative: ‘remove_const’
std::remove_const_t<std::remove_reference_t<ArgType>>,
^~~~~~~~~~~~~~
remove_const
/usr/local/include/open3d/core/SmallVector.h:836:30: error: ‘remove_const_t’ is not a member of ‘std’
/usr/local/include/open3d/core/SmallVector.h:836:30: note: suggested alternative: ‘remove_const’
std::remove_const_t<std::remove_reference_t<ArgType>>,
^~~~~~~~~~~~~~
remove_const
/usr/local/include/open3d/core/SmallVector.h:836:50: error: ‘remove_reference_t’ is not a member of ‘std’
std::remove_const_t<std::remove_reference_t<ArgType>>,
^~~~~~~~~~~~~~~~~~
/usr/local/include/open3d/core/SmallVector.h:836:50: note: suggested alternative: ‘remove_reference’
std::remove_const_t<std::remove_reference_t<ArgType>>,
^~~~~~~~~~~~~~~~~~
remove_reference
/usr/local/include/open3d/core/SmallVector.h:836:69: error: wrong number of template arguments (1, should be 2)
std::remove_const_t<std::remove_reference_t<ArgType>>,
^~~~~~~
In file included from /usr/include/c++/7/bits/move.h:54:0,
from /usr/include/c++/7/bits/nested_exception.h:40,
from /usr/include/c++/7/exception:143,
from /usr/include/c++/7/new:40,
from /usr/include/eigen3/Eigen/Core:82,
from /usr/include/eigen3/Eigen/Geometry:11,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_basis/data_type.h:10,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_basis/lambda.h:9,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_basis/trajectory.h:9,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/planning_ros_utils/include/planning_ros_utils/trajectory_writer.h:3,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:1:
/usr/include/c++/7/type_traits:994:12: note: provided for ‘template<class, class> struct std::is_same’
struct is_same;
^~~~~~~
In file included from /usr/local/include/open3d/core/SizeVector.h:33:0,
from /usr/local/include/open3d/core/ShapeUtil.h:30,
from /usr/local/include/open3d/core/Tensor.h:40,
from /usr/local/include/open3d/core/EigenConverter.h:34,
from /usr/local/include/open3d/Open3D.h:38,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/open3d_conversions/include/open3d_conversions/open3d_conversions.h:19,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:19:
/usr/local/include/open3d/core/SmallVector.h:836:78: error: expected primary-expression before ‘,’ token
std::remove_const_t<std::remove_reference_t<ArgType>>,
^
/usr/local/include/open3d/core/SmallVector.h:837:25: error: expected string-literal before ‘T’
T>::value,
^
/usr/local/include/open3d/core/SmallVector.h:837:25: error: expected ‘)’ before ‘T’
/usr/local/include/open3d/core/SmallVector.h:850:14: error: ‘remove_reference_t’ is not a member of ‘std’
std::remove_reference_t<ArgType> *EltPtr =
^~~~~~~~~~~~~~~~~~
/usr/local/include/open3d/core/SmallVector.h:850:14: note: suggested alternative: ‘remove_reference’
std::remove_reference_t<ArgType> *EltPtr =
^~~~~~~~~~~~~~~~~~
remove_reference
/usr/local/include/open3d/core/SmallVector.h:850:40: error: expected primary-expression before ‘>’ token
std::remove_reference_t<ArgType> *EltPtr =
^
/usr/local/include/open3d/core/SmallVector.h:850:43: error: ‘EltPtr’ was not declared in this scope
std::remove_reference_t<ArgType> *EltPtr =
^~~~~~
/usr/local/include/open3d/core/SmallVector.h:850:43: note: suggested alternative: ‘Elt’
std::remove_reference_t<ArgType> *EltPtr =
^~~~~~
Elt
/usr/local/include/open3d/core/SmallVector.h: At global scope:
/usr/local/include/open3d/core/SmallVector.h:1295:31: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
typename = std::enable_if_t<std::is_convertible<
^~~~~~~~~~~
/usr/local/include/open3d/core/SmallVector.h:1295:42: error: expected ‘>’ before ‘<’ token
typename = std::enable_if_t<std::is_convertible<
^
In file included from /usr/local/include/open3d/core/Tensor.h:43:0,
from /usr/local/include/open3d/core/EigenConverter.h:34,
from /usr/local/include/open3d/Open3D.h:38,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/open3d_conversions/include/open3d_conversions/open3d_conversions.h:19,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:19:
/usr/local/include/open3d/core/TensorInit.h:95:49: error: ‘std::index_sequence’ has not been declared
SizeVector InitializerShape(const L& list, std::index_sequence<D...>) {
^~~~~~~~~~~~~~
/usr/local/include/open3d/core/TensorInit.h:95:63: error: expected ‘,’ or ‘...’ before ‘<’ token
SizeVector InitializerShape(const L& list, std::index_sequence<D...>) {
^
/usr/local/include/open3d/core/TensorInit.h: In function ‘open3d::core::SizeVector open3d::core::tensor_init::InferShape(const L&)’:
/usr/local/include/open3d/core/TensorInit.h:103:24: error: ‘make_index_sequence’ is not a member of ‘std’
list, std::make_index_sequence<InitializerDim<L>::value>());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/open3d/core/TensorInit.h:103:24: note: suggested alternatives:
In file included from /usr/include/boost/mp11/algorithm.hpp:25:0,
from /usr/include/boost/mp11/bind.hpp:11,
from /usr/include/boost/parameter/aux_/is_placeholder.hpp:46,
from /usr/include/boost/parameter/value_type.hpp:101,
from /usr/include/boost/parameter/aux_/name.hpp:31,
from /usr/include/boost/parameter/name.hpp:10,
from /usr/include/boost/heap/policies.hpp:13,
from /usr/include/boost/heap/detail/stable_heap.hpp:20,
from /usr/include/boost/heap/d_ary_heap.hpp:21,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_planner/common/state_space.h:10,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_planner/common/graph_search.h:10,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/devel/include/mpl_planner/common/planner_base.h:12,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_external_planner/include/mpl_external_planner/ellipsoid_planner/ellipsoid_planner.h:10,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:3:
/usr/include/boost/mp11/integer_sequence.hpp:104:90: note: ‘boost::mp11::make_index_sequence’
template<std::size_t N> using make_index_sequence = make_integer_sequence<std::size_t, N>;
^
In file included from /usr/local/include/open3d/utility/Logging.h:42:0,
from /usr/local/include/open3d/core/Dispatch.h:30,
from /usr/local/include/open3d/core/Dtype.h:33,
from /usr/local/include/open3d/Open3D.h:37,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/open3d_conversions/include/open3d_conversions/open3d_conversions.h:19,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:19:
/usr/local/include/open3d/3rdparty/fmt/ranges.h:141:66: note: ‘fmt::v6::internal::make_index_sequence’
using make_index_sequence = make_integer_sequence<std::size_t, N>;
^
In file included from /usr/local/include/open3d/core/Tensor.h:43:0,
from /usr/local/include/open3d/core/EigenConverter.h:34,
from /usr/local/include/open3d/Open3D.h:38,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/open3d_conversions/include/open3d_conversions/open3d_conversions.h:19,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:19:
/usr/local/include/open3d/core/TensorInit.h:103:70: error: expected primary-expression before ‘)’ token
list, std::make_index_sequence<InitializerDim<L>::value>());
^
In file included from /usr/local/include/open3d/geometry/MeshBase.h:37:0,
from /usr/local/include/open3d/geometry/HalfEdgeTriangleMesh.h:33,
from /usr/local/include/open3d/Open3D.h:52,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/open3d_conversions/include/open3d_conversions/open3d_conversions.h:19,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:19:
/usr/local/include/open3d/utility/Helper.h: In function ‘std::__cxx11::string open3d::utility::FormatString(const string&, Args ...)’:
/usr/local/include/open3d/utility/Helper.h:168:21: error: ‘make_unique’ is not a member of ‘std’
auto buf = std::make_unique<char[]>(size);
^~~~~~~~~~~
/usr/local/include/open3d/utility/Helper.h:168:21: note: suggested alternative: ‘__unique’
auto buf = std::make_unique<char[]>(size);
^~~~~~~~~~~
__unique
/usr/local/include/open3d/utility/Helper.h:168:33: error: expected primary-expression before ‘char’
auto buf = std::make_unique<char[]>(size);
^~~~
In file included from /usr/local/include/open3d/visualization/gui/UIImage.h:30:0,
from /usr/local/include/open3d/visualization/gui/Button.h:33,
from /usr/local/include/open3d/Open3D.h:120,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/open3d_conversions/include/open3d_conversions/open3d_conversions.h:19,
from /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/mpl_test_node/src/ellipsoid_planner_node.cpp:19:
/usr/local/include/open3d/visualization/rendering/RendererHandle.h: At global scope:
/usr/local/include/open3d/visualization/rendering/RendererHandle.h:181:35: error: ‘format’ function uses ‘auto’ type specifier without trailing return type
FormatContext& ctx) {
^
/usr/local/include/open3d/visualization/rendering/RendererHandle.h:181:35: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/open3d/visualization/rendering/RendererHandle.h:189:43: error: ‘parse’ function uses ‘auto’ type specifier without trailing return type
constexpr auto parse(ParseContext& ctx) {
^
/usr/local/include/open3d/visualization/rendering/RendererHandle.h:189:43: note: deduced return type only available with -std=c++14 or -std=gnu++14
make[2]: *** [CMakeFiles/ellipsoid_planner_node.dir/build.make:76: CMakeFiles/ellipsoid_planner_node.dir/src/ellipsoid_planner_node.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4079: CMakeFiles/ellipsoid_planner_node.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
cd /home/sohamkulkarni/agile_autonomy_ws/catkin_aa/build/mpl_test_node; catkin build --get-env mpl_test_node | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -
..................................................................................................................................................................................................................
Failed << mpl_test_node:make [ Exited with code 2 ]
Failed <<< mpl_test_node [ 18.8 seconds ]
[build] Summary: 70 of 71 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: None.
[build] Failed: 1 packages failed.
[build] Runtime: 27.1 seconds total.
sohamkulkarni@sohamxlegion:~/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros$
For me, building Open3D v0.9.0 solves the errors for mpl_test_node.
My current version is 0.13, how do I change it to 0.9? Can you share the steps?
I was running
catkin b
and some strange events happened onmpl_test_node
. As you can see in the following error message, in my opinion it seems like something to do with C/C++ compiler. The versions of gcc/g++ are both 7.5.0