Install PCL 1.13.0 in Ubuntu 20.04
01 Mar 2023
For systems for which we do not offer precompiled binaries, you need to compile Point Cloud Library (PCL) from source. Here are the steps that you need to take: Go to Github and download the version number of your choice. Uncompress the tar-bzip archive, e.g. (replace 1.13.0 with the correct version number):
tar xvfj pcl-pcl-1.13.0.tar.gz
Change the directory to the pcl-pcl-1.13.0 (replace 1.13. with the correct version number) directory, and create a build directory in there:
cd pcl-pcl-1.13.0 && mkdir build && cd build
Please note that cmake might default to a debug build. If you want to compile a release build of PCL with enhanced compiler optimizations, you can change the build target to “Release” with “-DCMAKE_BUILD_TYPE=Release”:
cmake -DCMAKE_BUILD_TYPE=Release ..
Finally, compile everything
make -j2
And install the result:
make install