ORB_SLAM编译过程记录

本文详细记录了ORB_SLAM系统编译的过程,包括安装依赖如Pangolin、OpenCV和GLEW,以及如何在CLion中使用IDE。在编译过程中遇到了如'usleep'未声明、std::map静态断言失败和GTK+ 2.x导致的运行闪退等问题,逐一给出了解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


换了台电脑,装上了刚发布的ubuntu 20.04,感觉界面漂亮了许多,也更流畅。不过N卡驱动装的不顺利,暂时用不上先放一边吧。。。
在这里插入图片描述
试试跑ORB_SLAM效果如何,顺便整理一下碰到的编译错误。
IDE是CLion

安装依赖

ORB_SLAM需要的依赖有:

  • Pangolin

Pangolin是一个用于管理OpenGL显示/交互和提取视频输入的可移植的轻量级快速开发库。它的核心是一个简单的OpenGl viewport管理器,可以帮助模块化3D可视化而不会增加其复杂性,并提供先进而直观的3D导航处理程序。Pangolin还提供了一种通过配置文件和ui集成来操纵程序变量的机制,并具有灵活的实时plotter,用于可视化图形数据。
Pangolin的理念是减少通常编写的可视化和与系统进行交互(通常基于图像和3D的)的样例代码,而不会影响性能。它还支持为多个平台编写write-once代码,目前包括Windows、Linux、OSX、Android和IOS。
Pangolin is a lightweight portable rapid development library for managing OpenGL display / interaction and abstracting video input. At its heart is a simple OpenGl viewport manager which can help to modularise 3D visualisation without adding to its complexity, and offers an advanced but intuitive 3D navigation handler. Pangolin also provides a mechanism for manipulating program variables through config files and ui integration, and has a flexible real-time plotter for visualising graphical data.
The ethos of Pangolin is to reduce the boilerplate code that normally gets written to visualise and interact with (typically image and 3D based) systems, without compromising performance. It also enables write-once code for a number of platforms, currently including Windows, Linux, OSX, Android and IOS.

git clone https://github.com/stevenlovegrove/Pangolin.git
cd Pangolin
mkdir build
cd build
cmake 
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值