1.cmake 报错:
By not providing "FindG2O.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "G2O", but CMake did not find one.
Could not find a package configuration file provided by "G2O" with any of
the following names:G2OConfig.cmake
g2o-config.cmake
通过在ps文件夹中找到了FindG2O.cmake文件,复制粘贴到cmake_moudule中即可。