编译cocos2d-x for android时出错

时间:2013-10-31 17:48:19

标签: android c++ cocos2d-x

我在为android编译cocos2d-x的项目时遇到问题,执行品牌我这些错误......

Compile++ thumb  : game_shared <= Terrain.cpp
jni/../../Classes/Terrain.cpp: In member function 'void Terrain::initTerrain()':
jni/../../Classes/Terrain.cpp:65:62: error: 'random_shuffle' was not declared in this scope
jni/../../Classes/Terrain.cpp: In member function 'void Terrain::move(float)':
jni/../../Classes/Terrain.cpp:158:6: error: 'm_tPosition' was not declared in this scope
jni/../../Classes/Terrain.cpp: In member function 'void Terrain::initBlock(Block*)':
jni/../../Classes/Terrain.cpp:270:72: error: 'random_shuffle' was not declared in this scope
jni/../../Classes/Terrain.cpp:289:74: error: 'random_shuffle' was not declared in this scope
jni/../../Classes/Terrain.cpp:304:78: error: 'random_shuffle' was not declared in this scope
make: *** [obj/local/armeabi/objs/game_shared/__/__/Classes/Terrain.o] Error 1

该项目是在Xcode中完成的,但我正在为android编译

0 个答案:

没有答案