G2O Installation (G2O安装)

Share:
# Overview - How to install G2O? - Github: https://github.com/RainerKuemmerle/g2o.git --- G2O 是一个数学优化工具,可以用G2O来做线性优化,非线性优化。在SLAM中经常会用到。 本文 将介绍如何编译安装G2O库。 --- ## Installation ### Requirements - libsuitesparse-dev - qtdeclarative5-dev - qt5-qmake - libqglviewer-dev-qt5 ### Build use Cmake General procedure: ```sh git clone https://github.com/RainerKuemmerle/g2o.git or git clone https://github.com/yubaoliu/g2o.git cd g2o mkdir build cd build cmake .. make -j 3 make install ``` ## Directory overview after installation ![image-20200525153709124](https://cdn.jsdelivr.net/gh/yubaoliu/assets@image/image-20200525153709124.png) ## CMake configure in Your project - https://github.com/yubaoliu/g2o/blob/master/cmake_modules/FindG2O.cmake

No comments