Reputation: 75
I would like to upgrade my PCL to a newer version to fix a problem I have with QHull related to this issue.
I'm on ubuntu so I installed PCL with sudo apt install libpcl-dev
but I can only get the version 1.10.1. How can I install a newer version ?
The problem is apparently fixed by this commit. It's in the tag 1.12.1.
I know that in theory I can use cmake and build my own PCL but from what I saw with the apt install, there is a huge amount of dependencies + I will also need this particular Qhull version that they mention in the issue and commit... I'm not sure I can make this work without the package manager. Any leads on this problem ?
Thanks !
Upvotes: 2
Views: 9052
Reputation: 706
In its simplest form, building and installing PCL goes likes this:
cd
inside itmkdir build && cd build
cmake ..
make -j2 && sudo make install
For more information, see here: https://pcl.readthedocs.io/projects/tutorials/en/master/compiling_pcl_posix.html
When you previously had libpcl-dev
installed, you can remove that package without (auto-)removing the dependencies, then you should have most if not all dependencies required for building from source already installed.
You didn't say which Ubuntu version you use, but judging from the version of libpcl-dev
, I assume it is focal (20.04). The Qhull version installed there is fine, it already has a reentrant interface.
Upvotes: 3