美文网首页
ceres-solver

ceres-solver

作者: 徐凯_xp | 来源:发表于2020-01-16 16:09 被阅读0次

ceres库是算法优化库 由于平时会经常用到这些库,每次找网址都觉得麻烦,特此整理记录一下
官方教程:
http://www.ceres-solver.org/installation.html#

安装依赖

# CMake
sudo apt-get install cmake
# google-glog + gflags
sudo apt-get install libgoogle-glog-dev
# BLAS & LAPACK
sudo apt-get install libatlas-base-dev
# Eigen3
sudo apt-get install libeigen3-dev
# SuiteSparse and CXSparse (optional)
# - If you want to build Ceres as a *static* library (the default)
#   you can use the SuiteSparse package in the main Ubuntu package
#   repository:
sudo apt-get install libsuitesparse-dev
# - However, if you want to build Ceres as a *shared* library, you must
#   add the following PPA:
sudo add-apt-repository ppa:bzindovic/suitesparse-bugfix-1319687
sudo apt-get update
sudo apt-get install libsuitesparse-dev

开始安装

tar zxf ceres-solver-1.14.0.tar.gz
mkdir ceres-bin
cd ceres-bin
cmake ../ceres-solver-1.14.0
make -j3
make test
# Optionally install Ceres, it can also be exported using CMake which
# allows Ceres to be used without requiring installation, see the documentation
# for the EXPORT_BUILD_DIR option for more information.
make install

由于安装过程比较简单,这里不再赘述。

相关文章

  • ubuntu安装ceres

    github:https://github.com/ceres-solver/ceres-solver官方教程 :...

  • ceres-solver

    ceres库是算法优化库 由于平时会经常用到这些库,每次找网址都觉得麻烦,特此整理记录一下官方教程:http://...

  • cmake_parse_arguments用法

    实例代码在ceres-solver的cmake的FindSuiteSparse.cmake中 set(OPTION...

  • week64 ubuntu18.04安装Ceres

    软件包下载 下载地址: https://github.com/ceres-solver/ceres-sol...

  • 为Android编译ceres-solver

    准备 官方安装教程:http://ceres-solver.org/installation.htmlceres依...

  • ceres-solver在李群上的使用

    这篇文章就简单讲一个例子,希望大家动手做一个demo,这样来体会这个库的使用方式。 理论部分 不知道大家还记不记得...

  • ceres-solver无脑搞定协方差小技巧

    研究惯性导航的小伙伴都比较关心一件事,那就是协方差怎么来,或者说信息矩阵如何得到,当然协方差的用处我就不多说了。我...

网友评论

      本文标题:ceres-solver

      本文链接:https://www.haomeiwen.com/subject/uigfzctx.html