ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

FreddyWang's profile - activity

2023-05-11 04:22:43 -0500 marked best answer Catkin_make Errors (multiple)

Hi All,

I am new to ROS. I am using Ubuntu 20.04, ROS Neotic Ninjemys in VMware workstation. I am simply following a course in motion planning. just get started. And what i am asked to do:

Copy 3 folders (from course) to catkin_ws - src, one called 'grid_path_searcher', one called 'rviz_plugins', and the other one called 'waypoint_generator'

Delete Build and devel folder under catkin_ws, delete CmakeList.txt under catkin_ws - src

and then open up the terminal, enter the following code:

ls  'to see catkin_ws''
cd catkin_ws/ 'to enter it'
ls
cd src/ 'to enter it'
catkin_init_workspace     'to initialize it'
cd ..    'go back to previous folder'
catkin_make

then there are huge amount of codes jumped in my screen and I can barely copy all of them here. and the first few rows of code can not be scrolled up. looks like they terminal can only display certain amount of codes. So I just picked up all the error messges here for your reference.

/usr/include/pcl-1.10/pcl/point_types.h: In function ‘const pcl::PFHRGBSignature250& pcl::common::operator-=(pcl::PFHRGBSignature250&, const float&)’:
/usr/include/pcl-1.10/pcl/point_types.h:562:1: error: ‘minusscalar’ is not a member of ‘pcl::traits’
  562 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PFHRGBSignature250,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h: In function ‘const pcl::PFHRGBSignature250& pcl::common::operator*=(pcl::PFHRGBSignature250&, const float&)’:
/usr/include/pcl-1.10/pcl/point_types.h:562:1: error: ‘mulscalar’ is not a member of ‘pcl::traits’
  562 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PFHRGBSignature250,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h: In function ‘const pcl::PFHRGBSignature250& pcl::common::operator/=(pcl::PFHRGBSignature250&, const float&)’:
/usr/include/pcl-1.10/pcl/point_types.h:562:1: error: ‘divscalar’ is not a member of ‘pcl::traits’
  562 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PFHRGBSignature250,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h: At global scope:
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::PPFSignature, pcl::fields::f1>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  566 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::PPFSignature, pcl::fields::f1>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: template argument 1 is invalid
  566 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::PPFSignature, pcl::fields::f2>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  566 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::PPFSignature, pcl::fields::f2>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: template argument 1 is invalid
  566 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘type’ is not a member of ‘pcl::traits::datatype<pcl::PPFSignature, pcl::fields::f3>::decomposed’ {aka ‘pcl::traits::decomposeArray<float>’}
  566 | POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::PPFSignature,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pcl-1.10/pcl/point_types.h:566:1: error: ‘type’ is not a ...
(more)
2021-06-10 21:57:17 -0500 received badge  Famous Question (source)
2021-04-08 14:07:32 -0500 received badge  Famous Question (source)
2021-04-03 09:30:09 -0500 received badge  Student (source)
2021-04-03 09:30:06 -0500 received badge  Notable Question (source)
2021-03-23 21:31:20 -0500 received badge  Popular Question (source)
2021-03-20 03:39:33 -0500 asked a question Sudo rosdep init & rosdep update failure

Sudo rosdep init & rosdep update failure Hi All, OS: Ubuntu 16.04 LTS Laptop: Macbook, running VM Fusion My proble

2021-03-15 00:51:22 -0500 received badge  Notable Question (source)
2021-02-26 11:44:53 -0500 commented question Catkin_make Errors (multiple)

@Loguna @gvhoorn Thanks! I am not sure whether PCL library has been successfully configured in my Ubuntu system. as I s

2021-02-26 02:50:22 -0500 received badge  Popular Question (source)
2021-02-25 09:44:51 -0500 asked a question Catkin_make Errors (multiple)

Catkin_make Errors (multiple) Hi All, I am new to ROS. I am using Ubuntu 20.04, ROS Neotic Ninjemys in VMware workstati