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

进行编译。

相关推荐
沫璃染墨14 小时前
《从零入门Linux系统篇(十四):系统工具篇·五——Git版本控制:从版本管理到协同开发》
linux·运维·服务器·git·gitee·github
fthux15 小时前
装闭 RenoPit 源码解析(02):AI装修闭坑系统数据库与模型设计
人工智能·ai·开源·github·open source·renopit
本地化文档18 小时前
skbuild-docs-l10n
python·github·gitcode·sphinx
XS03010618 小时前
GitHub/Gitee 团队协作笔记
笔记·gitee·github
csdn_aspnet20 小时前
在 Visual Studio Code 中安装使用 Github Copilot
ide·vscode·github·copilot
CoderJia程序员甲21 小时前
GitHub 热榜项目 - 周榜(2026-08-08)
ai·大模型·github·agent
阿米亚波2 天前
【C/C++包管理器】vcpkg(by microsoft)
c语言·c++·git·vscode·microsoft·github·vcpkg
打工的小王2 天前
github教程之多人协作
github
笨笨狗吞噬者2 天前
IRIS: shell 中的智能实时输入提示工具
github·shell
fthux2 天前
MCP协议开发实战:从零搭建AI Agent工具链
前端·人工智能·ai·开源·github