我在我的D:/驱动器中安装了Cocos2d-x-2.2.5,在我的D:/驱动器中安装了ADT,在C:/ ANDROID_NDK_PATH中安装了Cygwin环境: ANDROID_NDK_PATH: D:\Cocos2d-X\cocos2d-x-3.2,NDK_ROOT: C:\Androd-NDK-R10,cygwin PATH: C:\cygwin\bin
我正在Cocos2d-x中创建一个项目,并在cygwin上通过./builnative.sh命令执行这些错误。
D:/Cocos2D-x/cocos2d-x-2.2.5/projects/CocosGame/proj.android/../../../extensions/CocoStudio/Reader/WidgetReader/LabelReader/LabelReader.cpp:54:9: error: 'transform' is not a member of 'std'
/cygdrive/c/android-ndk-r10/build/core/build-binary.mk:449: recipe for target 'obj/local/armeabi/objs/cocos_extension_static/CocoStudio/Reader/WidgetReader/LabelReader/LabelReader.o' failed
make: *** [obj/local/armeabi/objs/cocos_extension_static/CocoStudio/Reader/WidgetReader/LabelReader/LabelReader.o] Error 1
make: Leaving directory '/cygdrive/d/Cocos2D-x/cocos2d-x-2.2.5/projects/CocosGame/proj.android'发布于 2014-08-24 09:37:43
向extensions\CocoStudio\Reader\WidgetReader\LabelReader\LabelReader.cpp中添加#include <algorithm>
https://stackoverflow.com/questions/25443410
复制相似问题