Multithreading cocos2dx2.2.6如何支持c++;11

Multithreading cocos2dx2.2.6如何支持c++;11,multithreading,c++11,mutex,Multithreading,C++11,Mutex,我在Mac OS 10.11.1、x-code 7.1上使用CoCo2D-x 2.2.6开发了一个项目。所有配置都是默认的。我需要包括头文件,例如,,当我构建项目时,我遇到了一个错误,“'thread'file not found”。我搜索了这个错误,然后我意识到我必须更新我的X代码配置以支持c++11。我修改了一些配置,如下所示: TARGET->Build Settings->Apple LLVM 7.0 - Language - C++ C++ Language Dialect

我在Mac OS 10.11.1、x-code 7.1上使用CoCo2D-x 2.2.6开发了一个项目。所有配置都是默认的。我需要包括头文件,例如
,当我构建项目时,我遇到了一个错误,“'thread'file not found”。我搜索了这个错误,然后我意识到我必须更新我的X代码配置以支持c++11。我修改了一些配置,如下所示:

TARGET->Build Settings->Apple LLVM 7.0 - Language - C++
C++ Language Dialect => c++11[-std=c++11]
C++ Standard Library => c++11[-std=c++11]
[the configuration I modified][1]
I build the project after clean. then I got a lot of errors.  
[errors][2]

Errors like bellow :
"std::string::operator=(std::string const&)", referenced from:
cocos2d::CCLabelTTF::_prepareTextDefinition(bool) in libcocos2dx.a(CCLabelTTF.o)
"std::string::operator[](unsigned long)", referenced from:
"std::string::operator+=(char const*)", referenced from:
"std::string::operator+=(std::string const&)", referenced from:
"std::_List_node_base::hook(std::_List_node_base*)", referenced from:
"std::_List_node_base::unhook()", referenced from:
"std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::string const&, std::_Ios_Openmode)", referenced from:
"std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()", referenced from:
"std::ios_base::Init::Init()", referenced from:
"std::ios_base::Init::~Init()", referenced from:

clang: error: linker command failed with exit code 1 (use -v to see invocation)
<代码>目标->构建设置->苹果LLVM 7语言-C++ C++语言方言=C++ 11〔STD=C++ 11〕 C++标准库= > C++ 11 [-STD= C++ 11 ] [我修改的配置][1] 我在清洁后建立项目。然后我犯了很多错误。 [错误][2] 错误如下: “std::string::operator=(std::string const&)”,引用自: cocos2d::cclabeltf::_libcocos2dx.a(cclabeltf.o)中的prepareTextDefinition(bool) “std::string::operator[](无符号长)”引用自: “std::string::operator+=(char const*)”,引用自: “std::string::operator+=(std::string const&)”,引用自: “std::_列表_节点_基础::hook(std:_列表_节点_基础*)”,引用自: “std::_List_node_base::unhook()”,引用自: “std::basic_stringstream::basic_stringstream(std::string const&,std:_Ios\u Openmode)”,引用自: “std::basic_stringstream::~basic_stringstream()”,引用自: “std::ios_base::Init::Init()”,引用自: “std::ios_base::Init::~Init()”,引用自: 叮当声:错误:链接器命令失败,退出代码为1(使用-v查看调用) 今天我创建了一个全新的项目,我不会改变任何一个字,项目运行良好。但当我修改配置时,错误再次显示

我需要项目支持C++ 11。我怎样才能解决这个问题。这个问题困扰了我好几天了。我想念图书馆吗?非常感谢你。我会一直在线。

对不起,我弄错了。 C++语言方言=C++ 11〔STD=C++ 11〕 C++标准库= > LBB++(LVVM C++标准库,C++ 11支持)< /P> < P>对不起,我犯了一个错误。 C++语言方言=C++ 11〔STD=C++ 11〕 C++标准库= > LBB++(LVVM C++标准库,C++ 11支持)< /P>