当前位置:网站首页>boost::this_ Thread:: sleep (boost:: posix_time:: microseconds (100000)) reports an error "this_thread": "the symbol on the left side of":: "must be of a type
boost::this_ Thread:: sleep (boost:: posix_time:: microseconds (100000)) reports an error "this_thread": "the symbol on the left side of":: "must be of a type
2022-07-21 21:08:00 【Amelie_ eleven】
Point cloud registration
Report errors :
boost::this_thread::sleep (boost::posix_time::microseconds (100000))
“this_thread”:“::” The symbol on the left must be of one type
“sleep”: No “boost” Members of
“sleep”: Identifier not found
Solution 1 :
Add header file :
#include
#include
boost::this_thread::sleep (boost::posix_time::microseconds (100000))
// Change to :
std::this_thread::sleep_for(std::chrono::microseconds(100000));
Solution 2 :
Add header file
#include <boost/thread/thread.hpp>
边栏推荐
- PHP Baidu face detection API face value scoring (source code is directly available)
- Redis (III) - common redis commands
- Solana project learning (II): Escrow
- 佛萨奇2.0-Metaforce原力链上操作抢跑教程
- 易语言学习笔记(二)
- Interpretation of deflationary dividend currency safemoon
- 【内网渗透】内网不出网机器反弹shell以及CS上线
- Large file download solution
- [intranet penetration] MSF rebound traffic encryption session
- 并发编程(二十七) - JUC之原子类
猜你喜欢
Add whitelist function for NFT based on Merkle tree (translation)
易语言学习笔记(二)
Set function based on double array (based on solidity)
Solana Account 详解
Redis(五) - Redis企业实战之短信登录
Picture horizontal waterfall flow
MetaForce原力元宇宙之我見,教你迅速搞懂滑落機制
TP5 import Excel to database
Redis (III) - common redis commands
PHP environment construction (recommended pagoda panel)
随机推荐
易语言学习笔记(一)
Deduction of uniswap computing process
PhpMyAdmin stage file contains vulnerability analysis
[file upload bypass] - Secondary rendering
[PHP code audit] Introduction analysis of vulnerabilities in Pikachu shooting range
Add whitelist function for NFT based on Merkle tree (translation)
NVM, NRM tutorial
Rust简短笔记:4种不同的引用变量解答
Pawningshop: an implementation of NFT mortgage lending
Sushimaker and sushibar interpretation of sushiswap
Recurrence of the web question of the second online blade cup
SushiSwap的SushiMaker和SushiBar解读
Redis(二) - Redis安装说明
How to use iterative closest point ICP
Rust复杂的表达式解析结果探讨
【逆向分析】基础入门-简单控制台登录
How to use normal distribution transformation for registration
Rust short note: Cargo specifies the dependent version
Voting implementation of sushitoken
[vulnerability recurrence] redis unauthorized access to windows+linux utilization method