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

Catkin_make Errors (multiple)

asked 2021-02-25 09:33:45 -0600

FreddyWang gravatar image

updated 2023-05-11 04:23:30 -0600

130s gravatar image

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)
edit retag flag offensive close merge delete

Comments

I am new to ROS. [..] I am simply following a course in motion planning.

have you asked the instructor(s) of the course?

Those should be your first point of contact.

gvdhoorn gravatar image gvdhoorn  ( 2021-02-25 10:01:17 -0600 )edit

@loguna @gvhoorn Thanks! I am not sure whether PCL library has been successfully configured in my Ubuntu system. as I said, I just installed Ubuntu 20.04 in a VM. and I didn't remember that I used to configure any PCL related items. Should I go get PCL installed and configured first? any other library?

FreddyWang gravatar image FreddyWang  ( 2021-02-26 08:12:31 -0600 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2021-02-26 00:46:21 -0600

loguna gravatar image

updated 2021-02-26 00:52:54 -0600

It would seems to me like your PCL library package is not properly configured in your PC. That will explain why it cannot find certain types like Points.

Do know that Catkin_make is basically like a debug and build tool that debug and build all your ROS packages that contain inside that specific workspace.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-02-25 09:33:45 -0600

Seen: 2,538 times

Last updated: May 11 '23