当前位置:   article > 正文

dynslam的安装

dynslam的安装
1. 安装opencv 2.4.9

下载opencv2.4.9

apt-get install build-essential 
apt-get install libgtk2.0-dev libavcodec-dev libavformat-dev libtiff4-dev 
libswscale-dev libjasper-dev 
apt-get install cmake 
apt-get install pkg-config 
进入安装包文件: 
mkdir release 
cd release 
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D 
WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D 
INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D 
WITH_QT=ON -D WITH_OPENGL=ON -D WITH_CUDA=OFF .. 
make -j8 
make install 
sh -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv.conf' 
ldconfig
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
2. pangolin安装
git clone https://github.com/stevenlovegrove/Pangolin 
apt-get install libglew-dev 
apt-get install cmake 
apt-get install libboost-dev libboost-thread-dev libboost-filesystem-dev 
cd Pangolin 
mkdir build 
cd build 
cmake -DCPP11_NO_BOOST=1 .. 
make -j8 
make install
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
3. 安装dynslam
cd DynSLAM 
mkdir build 
cd build 
cd ../src 
git clone https://github.com/gflags/gflags 
git clone https://github.com/AndreiBarsan/libviso2-mirror.git 
mv libviso2-mirror libviso2
git clone https://github.com/victorprad/InfiniTAM.git
rm -rf pfmLib/
git clone https://github.com/AndreiBarsan/pfmLib.git
rm -rf Pangolin/
https://github.com/stevenlovegrove/Pangolin.git
cd ../build
cmake ..
make -j8
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15

出现错误**

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/喵喵爱编程/article/detail/909802
推荐阅读
相关标签