PCL1 8 Ubuntu16 04安裝詳解

2021-09-28 16:36:30 字數 2076 閱讀 4903

方式一:官網prebuild版本

sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl

sudo apt-get update

sudo apt-get install libpcl-all

可能是因為國內的關係,並沒有更新 apt-get 成功

方式二:安裝 prebuilt deb file for pcl 1.8 for ubunut 16.04

deb-file

sudo apt-get -f update
以上兩種便捷方式在之後的使用中我都出現了一些問題,所以還是推薦自己編譯。

第一步:安裝依賴

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

git clone
第三步:編譯原始碼

cd pcl

mkdir release

cd release

cmake -dcmake_build_type=none -dcmake_install_prefix=/usr \

-dcmake_install_prefix=/usr ..

make

sudo make install

第四步(可選 and 建議):如果需要pclvisualizer

安裝openni、openni2

sudo apt-get install libopenni-dev

sudo apt-get install libopenni2-dev

安裝ensensor

sudo dpkg -i ensenso-sdk-2.0.147-x64.deb 

sudo dpkg -i codemeter_6.40.2402.501_amd64.deb

如缺少依賴:sudo apt-get -f install

done!

ubuntu16 04安裝PCL總結

ubuntu裝軟體真的麻煩,乙個pcl庫費了我整整兩天時間 在此總結下,讓大家少踩坑。sudo add apt repository ppa v launchpad jochen sprickerhof de pcl sudo apt get update sudo apt get install ...

Ubuntu16 04安裝PCL並測試

第一步 安裝依賴 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 ...

Ubuntu16 04編譯安裝PCL 測試執行

環境 ubuntu16.04 pcl版本 1.8.1 一.安裝依賴庫 sudo apt get update sudo apt get install git build essential linux libc dev sudo apt get install cmake cmake gui su...