• 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
    解决方法:未解决

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

  • 相关阅读:
    苹果电脑pd工具箱Parallels Toolbox中文
    js内容混淆,返回内容加密
    Python基础入门篇【3】--变量与关键字
    玩转SpringBoot:动态排除Starter配置,轻松部署
    多态你真的了解吗?
    使用Premiere、PhotoShop和Audition做视频特效
    10月12日,每日信息差
    mount的挂载远程服务器文件夹
    什么是RBAC?
    蓝牙耳机哪个牌子性价比高?千元内真无线耳机推荐
  • 原文地址:https://blog.csdn.net/zhiTjun/article/details/128139128