MingW+CMake+CLion+Windows下Eigen+Ceres配置
Eigen
下载https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip按照之前教程,使用CMake GUI进行generate在工程的CMakeLists里添加:
include_directories("C://Program Files (x86)//Eigen3//include//eigen3")
target_link_libraries(untitled ${Eigen_LIBS})
Ceres
按顺序下载安装 2-4Eigen: https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zipGflags:https://codeload.github.com/gflags/gflags/zip/refs/heads/masterGlog:https://codeload.github.com/google/glog/zip/refs/heads/master添加环境变量(每个安装的包的
共有 0 条评论