[ubuntu][原创]ubuntu上pcl安装C++版

Posted FL1623863129

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[ubuntu][原创]ubuntu上pcl安装C++版相关的知识,希望对你有一定的参考价值。

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 libvtk7.1-qt libvtk7.1 libvtk7-qt-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

克隆源码:

git clone https://github.com/PointCloudLibrary/pcl.git

开始编译:

cd /home/username/pcl

mkdir build 

cd build

cmake .. -DCMAKE_BUILD_TYPE=None -DBUILD_GPU=OFF -DBUILD_apps=ON -DBUILD_examples=ON -DCMAKE_INSTALL_PREFIX=/home/username/pcl/install

make -j8

make install

以上是关于[ubuntu][原创]ubuntu上pcl安装C++版的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu 配置安装PCL

Ubuntu18.04安装PCL 1.9.1(图文详解,附踩坑和测试)

ubuntu16.04 pcl安装教程

Ubuntu16.04PCL安装

[ubuntu][转载]pcl安装依赖

ubuntu14.04 PCL1.8 OPENNI2.0 OPENCV3.0安装小结