eigen3.3.3+opencv3.2跑orbslam3数据集出现usleep错误
2024-09-05 18:35:25
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 headerunistd.h
, that was removed from Eigen headers, or better yet, using the now standard C++11std::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即可
最新文章
- Node.js Ubuntu下安装
- blade and soul pvp guide
- Oracle_RAC数据库GI的PSU升级(11.2.0.4.0到11.2.0.4.8)
- iOS开发--Swift 如何完成工程中Swift和OC的混编桥接(Cocoapods同样适用)
- 使用media Queries实现一个响应式的菜单
- MemcacheQ 的安装与使用
- G711
- schedule() 和 scheduleAtFixedRate() 的区别--转载
- TCP总结
- cumber + selenium +java自动化测试
- 嗯,这个BLOG其实是个更新服务器
- IOS开发创建开发证书及发布App应用(九)——等待审核(审核几种状态)
- TypeScript入门知识四(表达式和循环)
- 【Python3爬虫】斗鱼弹幕爬虫
- ArcGIS案例教程-通过点坐标生成矩形
- 【转】svn冲突问题详解 SVN版本冲突解决详解
- 一起学习造轮子(二):从零开始写一个Redux
- MogonDB安装及配置
- 20165205 2017-2018-2 《Java程序设计》 第三周学习总结
- python第三十七课——模块
热门文章
- runtime 实现方法交换 viewwillappear方法
- oracle 从select的结果update其他表
- jsp操作xml
- python MLP 神经网络使用 MinMaxScaler 没有 StandardScaler效果好
- Oracle_Exception_01_The Network Adapter could not establish the connection
- 【leetcode刷题笔记】String to Integer (atoi)
- bzoj 2969: 矩形粉刷 概率期望
- 原 requirements.txt 介绍 &; 快捷生成
- shock编程
- Hibernate Validator--创建自己的约束规则