编译g2o 其中的一个例子一直报错 错误提示:bal_example.cpp:96:52: error: template argument 2 is invalid 解决方案:不编译它 .. (暂没有找到更好的方案)可找到g2o/g2o/CMakeLists.txt 注释或删除相关行 如下图: