CMake,g2o,eigen,QT,libQGLViewer, suitesparse下载安装
suitesparse
suitesparse for windows 本人下载使用的是1.3.1版本,直接使用CMake,利用VS2013/VS2017编译安装即可,生成文件如下
libamd.lib
libbtf.lib
libcamd.lib
libccolamd.lib
libcholmod.lib
libcolamd.lib
libcxsparse.lib
libklu.lib
libldl.lib
libspqr.lib
metis.lib
suitesparseconfig.lib
另外生成的lib文件夹下包含文件夹lapack_blas_windows, 里面含有libblas.lib,liblapack.lib和libblas.dll,libgcc_s_dw2-1.dll,libgfortran-3.dll,liblapack.dll,libquadmath-0.dll
,BLAS需要FORTAN编译器编译,可以选用intel fortran编译器或者Mingw内部的fortan编译器编译,不过suitesparse已经包含利用Mingw编译的LAPACK 3.4.1库,可以被Visual Studio编译器使用。
eigen
eigen 选用的3.2.8版本
libQGLViewer
QT 选用版本5.5.1
libQGLViewer选用2.6.3版本,直接使用安装了QT VS Tools的Visual Studio2013/2017,打开QGLViewer/QGLViewer.pro即可进行编译生成对应库QGLViewerd2.lib和QGLViewer2.lib
,之后放置到QT对应路径或者全局路径都可以。
g2o
g2o本人下载使用的是20160424版本
g2o_cli.lib
g2o_core.lib
g2o_csparse_extension.lib
g2o_ext_csparse.lib
g2o_ext_freeglut_minimal.lib
g2o_incremental.lib
g2o_interactive.lib
g2o_interface.lib
g2o_opengl_helper.lib
g2o_parser.lib
g2o_simulator.lib
g2o_solver_cholmod.lib
g2o_solver_csparse.lib
g2o_solver_dense.lib
g2o_solver_eigen.lib
g2o_solver_pcg.lib
g2o_solver_slam2d_linear.lib
g2o_solver_structure_only.lib
g2o_stuff.lib
g2o_types_data.lib
g2o_types_icp.lib
g2o_types_sba.lib
g2o_types_sclam2d.lib
g2o_types_sim3.lib
g2o_types_slam2d.lib
g2o_types_slam2d_addons.lib
g2o_types_slam3d.lib
g2o_types_slam3d_addons.lib
g2o_viewer.lib
//运行库
g2o_cli.dll
g2o_core.dll
g2o_csparse_extension.dll
g2o_ext_csparse.dll
g2o_ext_freeglut_minimal.dll
g2o_incremental.dll
g2o_interactive.dll
g2o_opengl_helper.dll
g2o_simulator.dll
g2o_solver_cholmod.dll
g2o_solver_csparse.dll
g2o_solver_dense.dll
g2o_solver_eigen.dll
g2o_solver_pcg.dll
g2o_solver_slam2d_linear.dll
g2o_solver_structure_only.dll
g2o_stuff.dll
g2o_types_data.dll
g2o_types_icp.dll
g2o_types_sba.dll
g2o_types_sclam2d.dll
g2o_types_sim3.dll
g2o_types_slam2d.dll
g2o_types_slam2d_addons.dll
g2o_types_slam3d.dll
g2o_types_slam3d_addons.dll
g2o_viewer.dll
参考
Eigen+suitesparse for windows 安装
vs2013+g2o配置
Windows下lapack的编译
[https://blog.csdn.net/ye_shen_wei_mian/article/details/51864239](Windows+Visual Studio下生成g2o库教程(结合Cholmod库))