vcpkg的方式编译
参考博客:【SLAM】SLAM环境配置 Win10+VS2019+OpenCV+PCL+g2o+Vcpkg
https://blog.csdn.net/Gordon_Wei/article/details/107660390?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522169388324616800186593139%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=169388324616800186593139&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_ecpm_v1~rank_v31_ecpm-2-107660390-null-null.142v93chatgptT3_1&utm_term=vs2019%2Bg2o%E7%BC%96%E8%AF%91&spm=1018.2226.3001.4187
Cmake方式编译
参考博客:win10+vs2019+g2o 安装教程
https://www.jianshu.com/p/2e9533f0898e
步骤过程:
1.安装Cmake gui
参考博客:
https://blog.csdn.net/xijinno1/article/details/131199311
2.下载Eigen 3.4源码
https://eigen.tuxfamily.org/index.php?title=Main_Page
不用编译
3.下载suitesparse-metis-for-windows
https://githu