cd ORB_SLAM2
chmod +x build.sh
./build.sh

的时候出现错误:/home/zhao/ORB_SLAM2-master/src/System.cc:236:28: error: ‘usleep’ was not declared in this scope
usleep(1000); 解决办法:This can be solved in one of two ways, including the proper header unistd.h, that was removed from Eigen headers, or better yet, using the now standard C++11 std::this_thread::sleep_for.
参考网页:https://github.com/raulmur/ORB_SLAM2/issues/254
it's solved simply by adding
#include <unistd.h>
in those error files
之后重新运行
./build.sh即可

最新文章

  1. Node.js Ubuntu下安装
  2. blade and soul pvp guide
  3. Oracle_RAC数据库GI的PSU升级(11.2.0.4.0到11.2.0.4.8)
  4. iOS开发--Swift 如何完成工程中Swift和OC的混编桥接(Cocoapods同样适用)
  5. 使用media Queries实现一个响应式的菜单
  6. MemcacheQ 的安装与使用
  7. G711
  8. schedule() 和 scheduleAtFixedRate() 的区别--转载
  9. TCP总结
  10. cumber + selenium +java自动化测试
  11. 嗯,这个BLOG其实是个更新服务器
  12. IOS开发创建开发证书及发布App应用(九)——等待审核(审核几种状态)
  13. TypeScript入门知识四(表达式和循环)
  14. 【Python3爬虫】斗鱼弹幕爬虫
  15. ArcGIS案例教程-通过点坐标生成矩形
  16. 【转】svn冲突问题详解 SVN版本冲突解决详解
  17. 一起学习造轮子(二):从零开始写一个Redux
  18. MogonDB安装及配置
  19. 20165205 2017-2018-2 《Java程序设计》 第三周学习总结
  20. python第三十七课——模块

热门文章

  1. runtime 实现方法交换 viewwillappear方法
  2. oracle 从select的结果update其他表
  3. jsp操作xml
  4. python MLP 神经网络使用 MinMaxScaler 没有 StandardScaler效果好
  5. Oracle_Exception_01_The Network Adapter could not establish the connection
  6. 【leetcode刷题笔记】String to Integer (atoi)
  7. bzoj 2969: 矩形粉刷 概率期望
  8. 原 requirements.txt 介绍 &amp; 快捷生成
  9. shock编程
  10. Hibernate Validator--创建自己的约束规则