当前位置: 首页 > news >正文

imu_tk配置教程(锁死ubuntu18.04,不要22.04)

在ubuntu18.04上安装。
imu_tk 的 cmake 必须要qt4.x,但 ubuntu22.04 和qt4.x不适配。

1、安装 ceres-solver

下载路径:http://ceres-solver.org/installation.html (需要梯子,核心内容记录如下。需下载 ceres-solver 安装包)

Start by installing all the dependencies.

# CMake
sudo apt-get install cmake
# google-glog + gflags
sudo apt-get install libgoogle-glog-dev libgflags-dev
# Use ATLAS for BLAS & LAPACK
sudo apt-get install libatlas-base-dev
# Eigen3
sudo apt-get install libeigen3-dev
# SuiteSparse (optional)
sudo apt-get install libsuitesparse-dev

We are now ready to build, test, and install Ceres.

tar zxf ceres-solver-2.2.0.tar.gz
mkdir ceres-bin
cd ceres-bin
cmake ../ceres-solver-2.2.0
make -j3    # 有的地方写 -j2,不清楚区别,先按官方的来
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.
sudo make install

2、安装imu_tk

下载路径:https://github.com/Kyle-ak/imu_tk

sudo apt-get install build-essential cmake libeigen3-dev libqt4-dev libqt4-opengl-dev freeglut3-dev gnuplotcd imu_tk
mkdir build
cd build
cmake  ..
make

cmake不通过,debug

1、没有装boost

sudo apt-get update
sudo apt-get install libboost-all-dev

2、找不到eigin
参照:https://blog.csdn.net/qq_43872529/article/details/100937091

sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen
http://www.lryc.cn/news/478930.html

相关文章:

  • Vue 的 keep-alive
  • linux进程的状态之环境变量
  • 【系统架构设计师】预测试卷一:论文(包括4篇论文主题对应的写作要点分析)
  • 东胜物流软件 AttributeAdapter.aspx SQL 注入漏洞复现
  • 2024年网鼎杯青龙组|MISC全解
  • 查询引擎的演变之旅 | OceanBase原理解读
  • 轻松理解操作系统 - Linux 软硬链接是什么?
  • Redis - 数据库管理
  • VBA02-初识宏——EXCEL录像机
  • Unity网络开发基础(part5.网络协议)
  • forEach可以遍历不可枚举属性吗
  • Docsify文档编辑器:Windows系统下个人博客的快速搭建与发布公网可访问
  • 索引基础篇
  • 多进程与多线程分不清?
  • 【零基础学习CAPL】——XML工程创建与使用详解
  • 市场营销应该怎么学?
  • 作为一个前端开发者 以什么步骤学习后端技术
  • 大数据新视界 -- 大数据大厂之经典案例解析:广告公司 Impala 优化的成功之道(下)(10/30)
  • yolov8涨点系列之Concat模块改进
  • JavaAPI(1)
  • 【大模型】通过Crew AI 公司的崛起之路学习 AI Agents 的用法
  • Python接口自动化测试实战
  • 前端Web用户 token 持久化
  • 【测试工具篇一】全网最强保姆级教程抓包工具Fiddler(2)
  • ONLYOFFICE 文档8.2更新评测:PDF 协作编辑、性能优化及更多新功能体验
  • 【WebRTC】视频采集模块中各个类的简单分析
  • 【大模型系列】Grounded-VideoLLM(2024.10)
  • EV录屏好用吗?盘点2024年10款专业好用的录屏软件。
  • Pandas | 理性判断数据是否存在缺失值的一种方法
  • ENSP (虚拟路由冗余协议)VRRP配置