ubuntu 配置 3d点云库 pcl-1.8.1
1 安装环境依赖库 sudo apt-get update sudo apt-get install git build-essential linux-libc-dev sudo apt-get install cmake cmake-gui sudo apt-get install libusb-1.0-0-dev libusb-dev libudev-dev sudo apt-get install mpi-default-dev openmpi-bin openmpi-common sudo apt-get install libflann1.9 libflann-dev (基于ubuntu1804) sudo apt-get install libeigen3-dev sudo apt-get install libboost-all-dev sudo apt-get install libqhull* libgtest-dev sudo apt-get install freeglut3-dev pkg-config sudo apt-get install libxmu-dev libxi-dev sudo apt-get install mono-complete sudo apt-get install openjdk-8-jdk openjdk-8-jre ****** 推荐搭配:pcl-1.8.1 和 VTK-7.1.1 ****** 2 编译 vtk7.1.1 参考 https://blog.csdn.net/qq_36458461/article/details/114262074 3 编译pcl 3.1 下载pcl-1.8.1 3.2 开始make cd pcl-1.8.1 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 sudo make install 4 验证pcl cd /home/build/pcl-pcl-1.8.1/test pcl_viewer car6.pcd