SLAM学习--视觉SLAM十四讲第三方库安装

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_16481211/article/details/82823675
echo "安装eigen3"
sudo apt-get --yes --force-yes install libeigen3-dev

cd ~/ThirtyLib
echo "安装Sopus"
git clone https://github.com/strasdat/Sophus.git
cd ~/ThirtyLib/Sophus                #进入Sophus文件夹
git checkout a621ff      #检查a621ff版 
mkdir build                 #新建build文件夹
cd build                    #进入build文件夹
cmake ..                    #build上一层目录下执行CMake命令
make                        #编译
sudo make install
cd ~

echo "安装PCL点云库依赖"
sudo apt-get update  
sudo apt-get --yes --force-yes install git build-essential linux-libc-dev  
sudo apt-get --yes --force-yes install cmake cmake-gui   
sudo apt-get --yes --force-yes install libusb-1.0-0-dev libusb-dev libudev-dev  
sudo apt-get --yes --force-yes install mpi-default-dev openmpi-bin openmpi-common    
sudo apt-get --yes --force-yes install libflann1.8 libflann-dev  
sudo apt-get --yes --force-yes install libeigen3-dev  
sudo apt-get --yes --force-yes install libboost-all-dev  
sudo apt-get --yes --force-yes install libvtk5.10-qt4 libvtk5.10 libvtk5-dev  
sudo apt-get --yes --force-yes install libqhull* libgtest-dev  
sudo apt-get --yes --force-yes install freeglut3-dev pkg-config  
sudo apt-get --yes --force-yes install libxmu-dev libxi-dev   
sudo apt-get --yes --force-yes install mono-complete  
sudo apt-get --yes --force-yes install qt-sdk openjdk-8-jdk openjdk-8-jre
echo "安装PCL点云库"
cd ~/ThirtyLib
git clone https://github.com/PointCloudLibrary/pcl.git
cd pcl
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
sudo make install

猜你喜欢

转载自blog.csdn.net/qq_16481211/article/details/82823675
今日推荐