PCL库的安装

介绍Ubuntu下安装pcl库的方式。

1 前言

这里包含pcl1.9.1以及VTK-8.2.0两部分内容的安装方式。

2 PCL1.9.1安装方式

下载相应的安装包后,执行

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.8 libflann-dev
sudo apt-get install libeigen3-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libvtk5.10-qt4 libvtk5.10 libvtk5-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 qt-sdk openjdk-8-jdk openjdk-8-jre
cd pcl-pcl-1.9.1
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_GPU=ON-DBUILD_apps=ON -DBUILD_examples=ON \ -DCMAKE_INSTALL_PREFIX=/usr ..
make -j2
sudo make install

3 VTK-8.2.0的安装

下载好相应的安装包后,执行

1
2
3
4
5
cd VTK-8.2.0
mkdir build && cd build
cmake ..
make -j4
sudo make install

------ 本文结束感谢您的阅读------
Donate a cup of cola?