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

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.

你可能感兴趣的:(视觉SLAM)