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

pcl version 1.12 and 1.10 library conflicts #6137

Closed
bulingbu0 opened this issue Sep 17, 2024 · 3 comments
Closed

pcl version 1.12 and 1.10 library conflicts #6137

bulingbu0 opened this issue Sep 17, 2024 · 3 comments

Comments

@bulingbu0
Copy link

bulingbu0 commented Sep 17, 2024

In Linux, I used sudo apt install libpcl-dev to install, but the following problems occurred when I catkin_make. I hope it can be solved. Thank you.

CMake Error at CMakeLists.txt:12 (find_package):
Could not find a configuration file for package "PCL" that is compatible
with requested version "1.12".

The following configuration files were considered but not accepted:

/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake, version: 1.10.0
/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake, version: 1.10.0
@mvieth
Copy link
Member

mvieth commented Sep 18, 2024

From apt you got PCL 1.10.0. In the CMakeLists.txt, there is a line like find_package(PCL 1.12), which means that the package needs PCL in the version 1.12 or higher (so for example PCL 1.12.0, PCL 1.12.1, PCL 1.13.0, PCL 1.13.1, ...). In the error message, CMake informs you that it has found the PCL 1.10.0 installation, but will not use it because it does not match the requested version. So you have to install a newer PCL version, for example by building from source. Here are some hints how to do that: https://pcl.readthedocs.io/projects/tutorials/en/master/compiling_pcl_posix.html#compiling-pcl-posix

@mvieth
Copy link
Member

mvieth commented Sep 25, 2024

@bulingbu0 Did my last comment help? If I don't receive an answer, I will close this issue soon.

@bulingbu0
Copy link
Author

@bulingbu0我上次的评论有帮助吗?如果没有收到回答,我会很快结束这个问题。

Yes, it helped me, thank you

@larshg larshg closed this as completed Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants