Installing g2o from this respository This is clone of g2o at Rev. 54 from openslam.org/g2o. To install first clone from this respository: git clone https://github.com/ylatif/g2o.git Followed by: cd g2o/trunk/build cmake .. make sudo make install