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

进行编译。

相关推荐
2201_7611990410 分钟前
jenkins找不到Build when a change is pushed to GitHub
运维·github·jenkins
此生只爱蛋11 分钟前
【Linux】内网穿透(实操)/打洞
linux·github
恋恋西风22 分钟前
github 类似 开源网站
github·源代码管理·开源网站
无限进步_1 小时前
【C语言&数据结构】有效的括号:栈数据结构的经典应用
c语言·开发语言·数据结构·c++·git·github·visual studio
love530love3 小时前
Win11+RTX3090 亲测 · ComfyUI Hunyuan3D 全程实录 ②:nvdiffrast 源码编译实战(CUDA 13.1 零降级)
人工智能·windows·python·github·nvdiffrast
sunflower_level23 小时前
【ssh key】登陆云服务器,github的安全密码
服务器·ssh·github
CoderJia程序员甲4 小时前
GitHub 热榜项目 - 日榜(2025-12-20)
git·ai·开源·llm·github
GoGeekBaird12 小时前
分享几个使用Nano Banana Pro 画信息图的提示词
后端·github
UVM_ERROR15 小时前
RDMA Scheduler + TX + Completion RTL 开发经验分享
笔记·vscode·ssh·github·芯片