This g2o version (c++03 branch) built from source may be faster than the binaries (install libsuitesparse-dev before building g2o) and would be required to avoid some crashes. RTAB-Map won't build with latest official g2o version from source (since this commit).