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

进行编译。

相关推荐
解道Jdon20 小时前
VSCode 2026年2月更新:技能市场、CLI、钩子支持
ide·windows·git·svn·eclipse·github·visual studio
darkb1rd21 小时前
gws 命令行:统一 Google 全家桶 API 管理
开源·github·好物分享
嘿嘻哈呀21 小时前
VS Code + GitHub Copilot使用技巧
github·copilot
无风听海21 小时前
VSCode中Github Copilot的Agent模式架构与执行机制深度解析
vscode·github·copilot
shimly12345621 小时前
github 配置 ssh key ssh-key
运维·ssh·github
lpfasd12321 小时前
2026年第10周GitHub趋势周报
github
lpfasd12321 小时前
Flutter 远程构建全攻略:告别本地打包,GitHub Actions、Gitee Go 与 MobAI 三方案详解
flutter·gitee·github
无风听海1 天前
Visual Studio 2026中Github Copilot的大模型
github·copilot·visual studio
Joehaivo飞羽1 天前
【自荐】精美小巧的现代化终端文件管理器
linux·github·命令行
徐小夕1 天前
被CRUD拖垮的第5年,我用Cursor 一周"复仇":pxcharts-vue开源,一个全栈老兵的AI编程账本
前端·vue.js·github