jediofgever / ROS_Raw_Kitti_Player

Ros Package to access and manipulate raw KITTI data, with Camera-LIDAR sensor fusion and Perception Tasks
MIT License
71 stars 12 forks source link

no members matching ‘std::vector<int, pcl::PointXYZ>: #9

Open chenyi-real opened 4 years ago

chenyi-real commented 4 years ago

How to deal with this error

chenyi-real commented 4 years ago

I am use "catkin_make" ,but it show me the error: no members matching ‘std::vector<int, pcl::PointXYZ>

jediofgever commented 4 years ago

what version of PCL do you have ?

chenyi-real commented 4 years ago

I download the 1.11 version , whether I need the previous version , where can I download the previous version.

jediofgever commented 4 years ago

That is quite an outdated version. This project expects a version of PCL to be 1.8.

I suggest , you install PCL 1.8 to your system

jediofgever commented 4 years ago

What ubuntu version do you use ? if it is 16 then this should be helpful https://larrylisky.com/2016/11/03/point-cloud-library-on-ubuntu-16-04-lts/

chenyi-real commented 4 years ago

Thank you so much , I have a another ubuntu is 16.04, and I find it include pcl-1.7 ,did I should install pcl-1.8?

jediofgever commented 4 years ago

hmm , Can you modify the CMakeLists.txt in the project ? if you remove 1.8 from the places you see as PCL 1.8 it should build(hopefully).
That case catkin_make will just accept the available PCL which is 1.7 in your machine.

One is here ; https://github.com/jediofgever/ROS_Raw_Kitti_Player/blob/5e979c8eb3b9d1fd79101af302228ed123df3f43/kitti_ros/CMakeLists.txt#L24

and also in the submodules common_lib and object_builders_lib remove 1.8 from the PCL lines

chenyi-real commented 4 years ago

when I is in the step "catkin_make" ,it have a error :Could not find a package configuration file provided by "common _lib" with any of the following names