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

进行编译。

相关推荐
xuhe22 小时前
Mihon/Tachiyomi漫画插件分析(侧重目前插件现状分析和英文插件推荐)
github·tachiyomi
小锋学长生活大爆炸2 小时前
【教程】PicoClaw:在嵌入式设备上部署OpenClaw
docker·github·教程·工具·openclaw·picoclaw
secondyoung3 小时前
Git使用:Git使用问题及解决方法总结
windows·经验分享·git·vscode·gitee·github·gitcode
程序员敲代码吗8 小时前
提升Redis性能的关键:深入探讨主从复制
数据库·redis·github
CoderJia程序员甲9 小时前
GitHub 热榜项目 - 日榜(2026-02-16)
大模型·llm·github·ai教程
Wcowin10 小时前
【2】 Zensical配置详解
前端·github
py小王子10 小时前
GitHub 文件/文件夹批量上传工具
python·github
henry10101011 小时前
通过GitHub Page服务免费部署静态Web网站
前端·html·github·html5
CoderJia程序员甲1 天前
GitHub 热榜项目 - 日榜(2026-02-15)
github
Chuncheng's blog1 天前
使用代理连接Github异常
github