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 gnuplot

cd 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.youkuaiyun.com/qq_43872529/article/details/100937091

sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值