ubuntu 20.04 安装ORB_SLAM3
时间: 2023-09-03 12:05:44 浏览: 241
ORB_SLAM2(修改过).zip
在Ubuntu 20.04上安装ORB_SLAM3的步骤如下:
1. 打开终端,并执行以下指令来安装依赖项:
```
sudo apt-get install libglew-dev doxygen
sudo apt-get install libboost-dev libboost-thread-dev libboost-filesystem-dev
sudo apt-get install ffmpeg libavcodec-dev libavutil-dev libavformat-dev libswscale-dev
sudo apt-get install libpng-dev
```
2. 从ORB_SLAM3官网下载稳定版本V0.6(请避免使用master版本,因为它可能与其他库发生冲突)。
3. 解压缩下载的文件,进入解压后的目录:
```
cd Orb_SLAM3
```
4. 在终端中执行以下指令编译ORB_SLAM3:
```
chmod +x build.sh
./build.sh
```
5. 安装realsense2库(可选):
```
# 注册public key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
# 添加apt源
sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main" -u
# 安装
sudo apt install librealsense2-dkms librealsense2-utils librealsense2-dev
```
完成以上步骤后,ORB_SLAM3将成功安装在Ubuntu 20.04上。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [ubuntu20.04安装并运行ORB_SLAM3(一路顺风版)](https://blog.csdn.net/weixin_56566649/article/details/125280841)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Ubuntu 20.04 安装 ORB_SLAM3(包含ROS版)](https://blog.csdn.net/zhuxiaoyang2000/article/details/120716609)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文