Boost线程:标识符堆内存错误 [英] Boost thread: identifier heap memory error

查看:106
本文介绍了Boost线程:标识符堆内存错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我包含< boost \thread.hpp>时标题,它将显示语法错误:文件thread_heap_alloc.hpp中的标识符'heap_memory'。如何解决这个错误?



我尝试过:



我安装了boost。尝试不同,但我无法解决这个错误。

解决方案

你试过Google吗?

例如,参见 c ++ - Visual Studio 2010中的boost :: thread编译错误 - 堆栈溢出 [< a href =https://stackoverflow.com/questions/5147650/boostthread-compilation-error-in-visual-studio-2010target =_ blanktitle =New Window> ^ ]。

When I include <boost\thread.hpp> header, it will shows syntax error : identifier 'heap_memory' in file thread_heap_alloc.hpp. How to solve this error?

What I have tried:

I installed boost. And tried differently but i can't solve that error.

解决方案

Did you try Google?
See, for instance, c++ - boost::thread compilation error in Visual Studio 2010 - Stack Overflow[^].


这篇关于Boost线程:标识符堆内存错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆