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

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

Open
chenyi-real opened this issue Nov 15, 2020 · 8 comments
Open

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

chenyi-real opened this issue Nov 15, 2020 · 8 comments

Comments

@chenyi-real
Copy link

How to deal with this error

@chenyi-real
Copy link
Author

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

@jediofgever
Copy link
Owner

what version of PCL do you have ?

@chenyi-real
Copy link
Author

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

@jediofgever
Copy link
Owner

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
Copy link
Owner

jediofgever commented Nov 16, 2020

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
Copy link
Author

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
Copy link
Owner

jediofgever commented Nov 16, 2020

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 ;

find_package(PCL 1.8 REQUIRED COMPONENTS

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

@chenyi-real
Copy link
Author

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

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

2 participants