cocos2d-x 3.0版本,eclipse编译时,识别不了std::thread

在mac环境下,使用create-multi-platform-projects.py创建项目;按照README.md配置好android环境,编译时,CCTextureCache.h里面的std::thread,std::mutex等识别不了,其他string能识别呀。报:Multiple markers at this line

  • ‘thread’ in namespace ‘std’ does not name a
    type
  • Type ‘std::thread’ could not be resolved
    错误。
    这个有谁知道怎么回事不?

Please use English in this forum.

First, please use ndk-r8e or ndk-r9.
Second, you should enable c++11, add -std=c++11 in Application.mk.