版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/HERO_CJN/article/details/80019028
Build Point Cloud Library
Point Cloud Library is obtained by:
git clone https://github.com/PointCloudLibrary/pcl.git
Now you should find pcl in your directory. Go into it and create a release directory and follow the cmake build process:
cd pcl
mkdir release
cd release
cmake -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_GPU=ON -DBUILD_apps=ON -DBUILD_examples=ON \
-DCMAKE_INSTALL_PREFIX=/usr ..
make
The make will take some time, so go get a cup of coffee or take that long overdue shower. Once the build finishes, install it by:
sudo make install