配置VINS_Fusion的时候报错

CMake Error at VINS-Fusion/camera_models/CMakeLists.txt:22 (find_package): Found package configuration file:

/usr/local/lib/cmake/Ceres/CeresConfig.cmake

but it set Ceres_FOUND to FALSE so package "Ceres" is considered to be NOT FOUND.

打开报错的文件

 sudo gedit /usr/local/lib/cmake/Ceres/CeresConfig.cmake

https://img-blog.csdnimg.cn/direct/65ba17ba4b5443649961d1958a40a64d.png

https://img-blog.csdnimg.cn/direct/85caf86536d5411eb25624b78cff0198.png

继续报错eigen版本不对(没截到图)

在205行左右设置对应eigen版本。

配置成功