安装非线性优化库Ceres
1 下载源码
- 下载地址
https://github.com/ceres-solver/ceres-solver
2 安装依赖项
sudo apt-get install liblapack-dev libsuitesparse-dev libcxsparse3.1.4 libgflags-dev libgoogle-glog-dev
3 安装Ceres
tar zxf ceres-solver-1.13.0.tar.gz
mkdir build
cd build
cmake ..
make -j8
sudo make install
4 查看库文件和头文件
/usr/local/include/ceres 找到Ceres的头文件
/usr/local/lib/ 找到libceres.a 的库文件