我在为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编译