Errror while trying to catkin_make an image_undistort package. Please help what are these errors.
Errror while trying to catkin_make an image_undistort package. Please help what are these errors on noetic
/usr/include/boost/mpl/aux_/preprocessed/gcc/minus.hpp:68:8: note: ‘boost::mpl::minus’
68 | struct minus
| ^~~~~
In file included from /usr/include/pcl-1.10/pcl/point_types.h:44,
from /usr/include/pcl-1.10/pcl/common/impl/copy_point.hpp:41,
from /usr/include/pcl-1.10/pcl/common/copy_point.h:58,
from /usr/include/pcl-1.10/pcl/common/impl/io.hpp:45,
from /usr/include/pcl-1.10/pcl/common/io.h:586,
from /usr/include/pcl-1.10/pcl/io/file_io.h:41,
from /usr/include/pcl-1.10/pcl/io/pcd_io.h:44,
from /opt/ros/noetic/include/pcl_conversions/pcl_conversions.h:70,
from /home/mariah/tello_ws/src/image_undistort/include/image_undistort/depth.h:10,
from /home/mariah/tello_ws/src/image_undistort/src/depth.cpp:1:
/usr/include/pcl-1.10/pcl/point_types.h:678:1: error: ‘minus’ is not a member of ‘pcl::traits’
678 | POINT_CLOUD_REGISTER_POINT_STRUCT(pcl::PointSurfel,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:678:1: note: suggested alternatives:
In file included from /usr/include/c++/9/string:48,
from /opt/ros/noetic/include/ros/platform.h:38,
from /opt/ros/noetic/include/ros/time.h:53,
from /opt/ros/noetic/include/ros/ros.h:38,
from /opt/ros/noetic/include/image_transport/publisher.h:38,
from /opt/ros/noetic/include/image_transport/image_transport.h:38,
from /home/mariah/tello_ws/src/image_undistort/include/image_undistort/depth.h:4,
from /home/mariah/tello_ws/src/image_undistort/src/depth.cpp:1:
/usr/include/c++/9/bits/stl_function.h:177:12: note: ‘std::minus’
177 | struct minus : public binary_function<_Tp, _Tp, _Tp>
| ^~~~~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/aux_/arithmetic_op.hpp:34,
from /usr/include/boost/mpl/minus.hpp:19,
from /usr/include/boost/mpl/vector/aux_/iterator.hpp:20,
from /usr/include/boost/mpl/vector/aux_/vector0.hpp:22,
from /usr/include/boost/mpl/vector/aux_/clear.hpp:18,
from /usr/include/boost/mpl/vector/vector0.hpp:24,
from /usr/include/boost/mpl/vector/vector10.hpp:18,
from /usr/include/boost/mpl/vector/vector20.hpp:18,
from /usr/include/boost/mpl/vector.hpp:36,
from /usr/include/boost/math/policies/policy.hpp:14,
from /usr/include/boost/math/policies/error_handling.hpp:21,
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/image_transport/publisher.h:38,
from /opt/ros/noetic/include/image_transport/image_transport.h:38,
from /home/mariah/tello_ws/src/image_undistort/include/image_undistort/depth.h:4,
from /home/mariah/tello_ws/src/image_undistort/src/depth.cpp:1:
/usr/include/boost/mpl/aux_/preprocessed/gcc/minus.hpp:68:8: note: ‘boost::mpl::minus’
68 | struct minus
| ^~~~~
In file included from /usr/include/pcl-1.10/pcl/point_types.h:44,
from /usr/include/pcl-1.10/pcl/common/impl/copy_point.hpp:41,
from /usr/include/pcl-1.10/pcl/common/copy_point.h:58,
from /usr/include/pcl-1 ...
Web page was struggling in rendering and I found the 2nd half of the post looked like the copy of the 1st half without carriage return, so I removed the 2nd half, sorry. But now at least web page is showing ok.
Haven't looked deeper but I see similar issue https://answers.ros.org/question/3727...