当前位置:网站首页>boost::this_thread::sleep (boost::posix_time::microseconds (100000))报错“this_thread”:“::”左侧的符号必须是一种类型
boost::this_thread::sleep (boost::posix_time::microseconds (100000))报错“this_thread”:“::”左侧的符号必须是一种类型
2022-07-21 05:04:00 【Amelie_11】
点云配准
报错:
boost::this_thread::sleep (boost::posix_time::microseconds (100000))
“this_thread”:“::”左侧的符号必须是一种类型
“sleep”: 不是 “boost” 的成员
“sleep”: 找不到标识符
解决方法一:
添加头文件:
#include
#include
boost::this_thread::sleep (boost::posix_time::microseconds (100000))
//改成:
std::this_thread::sleep_for(std::chrono::microseconds(100000));
解决方法二:
添加头文件
#include <boost/thread/thread.hpp>
边栏推荐
- 让代码解决《线性代数》系列 - 求多项式的最大公因式
- Operating instructions for opt101 monolithic photodiode and single power supply mutual resistance amplifier
- 使用MATLAB GUI 设计工具开发小项目
- 第10章 3D 点云特征描述提取
- [3D modeling] SolidWorks 3D modeling and prusaslicer slice printing learning notes
- Mac brew install MySQL installation steps
- Self attention principle
- 跑TDD-net遇到的一些坑
- Bert from introduction to practice notebook
- Pycharm common errors collection
猜你喜欢
OLED (classic 0.96 inch) -4spi--ssd1306 control principle (including common chip _oled routines)
[PCB] modify the default settings for items such as (via) (text string) (wiring linear dimension) in Altium designer
Hetai ht32 & taojingchi tjc--t0 serial port screen learning notes
第10章 3D 点云特征描述提取
namespace 命名空间
Amy-Tabb机器人世界手眼标定(1、环境搭配)
pycharm 笔记
3. Build the basic model of paddlepaddle from scratch (compare with keras and pytorch)
Pytorch Basics
让代码解决《线性代数》系列 - 求多项式的最大公因式
随机推荐
tensorflow-GPU环境配置
OPT101单片光电二极管和单电源互阻放大器使用说明
Correlation function of CV2
scanf 详解 - 你所不知道的scanf用法
让代码解决《线性代数》系列 - 多项式求和
Overview of Bert principle
Apisik microservice gateway
基于OpenCV和Dlib+fr的人脸检测以及基于Dlib人脸对齐
记录关于写程序的一些个小芝士~【持续更~】
2. Learn the vector calculation of paddlepaddle from scratch
Hetai ht32--4spi drive 0.96 inch OLED display implementation
CONDA install datasets to avoid conflicting commands
1014福爾摩斯約會
C. Doremy‘s IQ
桶排序,冒泡排序,快速排序
Stack, queue, linked list
荣耀手机冰箱app激活
小游戏类项目 —— 扫雷
[PCB] production document sorting and output of circuit board drawing notes -- drawing board notes
bert-serving