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

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

Open
Tsai-Li-Chun opened this issue Oct 26, 2023 · 0 comments
Open

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

Tsai-Li-Chun opened this issue Oct 26, 2023 · 0 comments

Comments

@Tsai-Li-Chun
Copy link

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.

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

1 participant