编译VINs的时候,遇到了这个问题,是没安装Ceres导致的
`CMake Error at VINS-Mono/camera_model/CMakeLists.txt:19 (find_package):
By not providing “FindCeres.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “Ceres”, but
CMake did not find one.
Could not find a package configuration file provided by “Ceres” with any of
the following names:
CeresConfig.cmake
ceres-config.cmake
`
解决方案如下:
sudo gedit /etc/apt/sources.list
将下面这句话复制在打开文件的第一行
deb http://cz.archive.ubuntu.com/ubuntu trusty main universe
sudo apt-get update
sudo apt-get install liblapack-dev libsuitesparse-dev libcxsparse3.1.2 libgflags-dev
sudo apt-get install libgoogle-glog-dev libgtest-dev
git clone https://github.com.cnpmjs.org/ceres-solver/ceres-solver
cd ceres-solver
sudo mkdir build
cd build
sudo cmake ..
sudo make -j8
sudo make install
本文参考
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- awee.cn 版权所有 湘ICP备2023022495号-5
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务