Ubuntu 20.04.05安装ceres-1.14.0

1、安装Ceres1.14.0

链接: Ubuntu20.04安装Ceres1.14.0.
官方安装流程:http://ceres-solver.org/installation.html

3、cmake编译ceres遇到的问题

(1)TBB

问题描述:Did not find Intel TBB library, assuming SuiteSparseQR was not compiled with
解决方法:sudo apt-get install libtbb-dev

(2)METIS

问题描述:Did not find METIS library (optional SuiteSparse dependency)
解决方法:sudo apt-get install libmetis-dev

(3)glog

问题描述:Failed to find installed glog CMake configuration, searching for glog build directories exported with CMake.
– Failed to find an installed/exported CMake configuration for glog, will perform search for installed glog components.
解决方法:安装glog,链接–>Ubuntu20.04安装glog.

① 安装glog遇到的问题——pthread_create

问题描述:Looking for pthread_create in pthreads - not found
解决方法:未解决

② 安装glog遇到的问题——pthread_threadid_np

问题描述:Looking for pthread_threadid_np - not found
解决方法:未解决

③ 安装glog遇到的问题——UnDecorateSymbolName

问题描述:Looking for UnDecorateSymbolName in dbghelp - not found
解决方法:未解决

④ 安装glog遇到的问题——GTest

问题描述:Could NOT find GTest (missing: GTest_DIR)
解决方法:重新安装googletest
git clone https://github.com/google/googletest.git
cd googletest
mkdir build
cd build
cmake …
make
sudo make install

⑤ 安装glog遇到的问题——Unwind

问题描述:Could NOT find Unwind (missing: Unwind_INCLUDE_DIR Unwind_LIBRARY)
解决方法:sudo apt install libunwind-dev

⑥ 安装glog遇到的问题——dladdr

问题描述:Looking for dladdr - not found
解决方法:未解决

注:上述未解决的问题,可能会影响程序的运行速度,但是不影响能否运行成功!

  • 1
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值