Hello, I’ve been trying to get this going for a couple days now, I’m pretty close but having issues with Cocos2d-x running.
I’m using this as my main guide: http://www.raywenderlich.com/11283/cocos2d-x-for-ios-and-android-getting-started
I’m just trying to get Cocos2d-x running in eclipse/android emulator.
So far everything is smooth up until I run the build_native.sh. Potential issues:
- (Is this an issue?) Android NDK: WARNING: APP_PLATFORM android-14 is larger than android:minSdkVersion 8 in ./AndroidManifest.xml
- Handful of failures:
Compile thumb : cocos2dx_static <= quaternion.c
/Users/user/Desktop/cocos2d-2.0-x-2.0.4/sampleProjet/proj.android/…/…/cocos2dx/kazmath/src/quaternion.c: In function ‘kmQuaternionAssign’:
/Users/user/Desktop/cocos2d-2.0-x-2.0.4/sampleProjet/proj.android/…/…/cocos2dx/kazmath/src/quaternion.c:478:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
Compile thumb : cocos2dx_static <= ray2.c
Compile thumb : cocos2dx_static <= utility.c
Compile thumb : cocos2dx_static <= vec2.c
Compile thumb : cocos2dx_static <= vec3.c
Compile thumb : cocos2dx_static <= vec4.c
/Users/user/Desktop/cocos2d-2.0-x-2.0.4/sampleProjet/proj.android/…/…/cocos2dx/kazmath/src/vec4.c: In function ‘kmVec4Assign’:
/Users/user/Desktop/cocos2d-2.0-x-2.0.4/sampleProjet/proj.android/…/…/cocos2dx/kazmath/src/vec4.c:150:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
and more.
I have no idea if this is preventing my project from running, but I figure I best get those out of the way first as Eclipse won’t let me run the emulator.
Unlike the guide example, even after immediately ‘Creating a project with source’ I have a bunch of errors which prevent me from running the emulator. But I’ll get into that later. Thanks