photoneo / phoxi_camera

ROS Package for PhoXi Scanner/Camera. If you like us, STAR US! :P
MIT License
44 stars 32 forks source link

Unable to catkin_make, using ROS Noetic & PhoXiControl v1.11. #69

Open Tsai-Li-Chun opened 10 months ago

Tsai-Li-Chun commented 10 months ago

My environment is as follows: OS : ubuntu20 ROS version : Noetic PhoXiControl : 1.11.1 After running catkin_make, a large number of error messages appeared. Here is an excerpt :

/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘mulscalar’ is not a member of ‘pcl::traits’
  566 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h: In function ‘const pcl::PPFSignature& pcl::common::operator/=(pcl::PPFSignature&, const float&)’:
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘divscalar’ is not a member of ‘pcl::traits’
  566 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘divscalar’ is not a member of ‘pcl::traits’
  566 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘divscalar’ is not a member of ‘pcl::traits’
  566 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘divscalar’ is not a member of ‘pcl::traits’
  566 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘divscalar’ is not a member of ‘pcl::traits’
  566 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h: At global scope:
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f1>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f1>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: template argument 1 is invalid
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f2>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f2>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: template argument 1 is invalid
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f3>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f3>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: template argument 1 is invalid
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f4>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f4>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: template argument 1 is invalid
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f5>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f5>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: template argument 1 is invalid
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f6>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f6>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: template argument 1 is invalid
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f7>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f7>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: template argument 1 is invalid
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f8>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f8>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: template argument 1 is invalid
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f9>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f9>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: template argument 1 is invalid
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f10>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::f10>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: template argument 1 is invalid
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::alpha_m>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::CPPFSignature, pcl::fields::alpha_m>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: template argument 1 is invalid
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h: In function ‘const pcl::CPPFSignature& pcl::common::operator+=(pcl::CPPFSignature&, const pcl::CPPFSignature&)’:
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘plus’ is not a member of ‘pcl::traits’
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:574:1: note: suggested alternatives:
In file included from /usr/include/c++/9/memory:76,
                 from /opt/Photoneo/PhoXiControl-1.11.1/API/include/PhoXiInterface.h:12,
                 from /opt/Photoneo/PhoXiControl-1.11.1/API/include/PhoXi.h:22,
                 from /home/deltaagv/ros1_ws/src/phoxi_camera/include/phoxi_camera/PhoXiInterface.h:8,
                 from /home/deltaagv/ros1_ws/src/phoxi_camera/src/PhoXiInterface.cpp:5:
/usr/include/c++/9/bits/stl_function.h:167:12: note:   ‘std::plus’
  167 |     struct plus : 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/plus.hpp:19,
                 from /usr/include/boost/mpl/vector/aux_/iterator.hpp:19,
                 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/pcl-1.10/pcl/register_point_struct.h:57,
                 from /usr/include/pcl-1.10/pcl/point_types.h:44,
                 from /home/deltaagv/ros1_ws/src/phoxi_camera/include/phoxi_camera/PhoXiInterface.h:9,
                 from /home/deltaagv/ros1_ws/src/phoxi_camera/src/PhoXiInterface.cpp:5:
/usr/include/boost/mpl/aux_/preprocessed/gcc/plus.hpp:68:8: note:   ‘boost::mpl::plus’
   68 | struct plus
      |        ^~~~
In file included from /usr/include/pcl-1.10/pcl/point_types.h:44,
                 from /home/deltaagv/ros1_ws/src/phoxi_camera/include/phoxi_camera/PhoXiInterface.h:9,
                 from /home/deltaagv/ros1_ws/src/phoxi_camera/src/PhoXiInterface.cpp:5:
/usr/include/pcl-1.10/pcl/point_types.h:574:1: error: ‘plus’ is not a member of ‘pcl::traits’
  574 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::CPPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I suspect that the large version gap may be causing this. Do you have ROS package versions specifically designed for ROS-Noetic and PhoXiControl-v1.11?

Please provide assistance for the above questions. Your help is greatly appreciated.