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 ...
have you asked the instructor(s) of the course?
Those should be your first point of contact.
@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?