msckf_vio在ubuntu20.04中的编译

1.新建catkin workspace文件夹,并在其中新建src文件夹,并将源码clone至src内。

源码地址:https://github.com/KumarRobotics/msckf_vio

目录层级示意如下,build和devel不必新建,后续指令会自动新建。

2. 在编译之前的准备

1)需要安装random_nuber的包,ubuntu20.04中安装的ros版本为neotic,因此指令为:

复制代码
sudo apt install ros-noetic-random-numbers

2)此外还可能会碰到pcl报错的问题,可将msckf_vio内的cmakelists的C++11改为C++14解决。

3)安装suitesparse包,指令按照github源码中的readme所给的:

复制代码
sudo apt-get install libsuitesparse-dev

3 编译

在src那一层目录,执行

复制代码
catkin_make --pkg msckf_vio --cmake-args -DCMAKE_BUILD_TYPE=Release

进行编译。

相关推荐
miofly1 小时前
百度开源ERNIE 5.5 Flash Base,总参数280B仅激活14B
开源·github
dong_junshuai2 小时前
每天一个开源项目#154 Nushell:结构化管道怎样跨过文本边界
github
Jason_gao9996 小时前
Github Copilot 新手极速上手指南
人工智能·github·copilot
GitHub实测笔记6 小时前
hexyl 本机实测:8MiB 转储中位 102ms、od 696ms(约 6.8×);默认双面板,NO_COLOR 下要 --color=force
github
MoRay7 小时前
放弃云端 Computer Use,我用 Python 手搓了一个带“物理防呆”的本地 GUI Agent 底座
python·github
用户2991422196807 小时前
GitHub 热榜项目:日榜(2026-11-07)
人工智能·开源·github
miofly10 小时前
GitHub 日榜趋势速报 | 2026-11-07
开源·github
miofly1 天前
Inkling 2 Small 发布,基准测试大幅超越前代但不敌同级对手
开源·github
dong_junshuai1 天前
每天一个开源项目#153 LZ4:用块边界和有序并行换取低延迟
github
Qiongkura1 天前
开源自荐:CodeYear:把本机 Git 历史变成年度代码手账(本地优先 · 零上传 · 已上 PyPI)
github