1
从github下载pcl,https://github.com/PointCloudLibrary/pcl
2
安装依赖项
sudo apt-get install libboost*

sudo apt-get install libqhull-dev libpcap-dev  libeigen3-dev libflann-dev libglew-dev libproj-dev

qt5
sudo apt-get install qt5-default libqt5designer components5 libqt5designer5

metslib 

http://freecode.com/projects/metslib
vtk
sudo apt-get install vtk6 libvtk6-dev libvtk6-qt-dev libvtk6-dev libvtk6.2 libvtk6.2-qt

解压后进入pcl目录
mkdir build && cd build
3
如果需要编译Example ,需要在主目录/examples/CMakeLists.txt中,set(DEFAULT FALSE)修改为set(DEFAULT TRUE)同理,在simulation目/CMakeLists.txt中set(build TRUE)
用cmake-gui选择qt5相关目录

4

make -j4

5
sudo make install



11-25 03:39