Hi,
I am trying to run on my Android phone the “test cases” which are mentioned in this article: http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How_to_run_test_cases_on_android-ndk
The explanations of the previously mentioned article are for NDK r4 and 5. I use NDK r7 and Eclipse on Mac OSX.
I get the following error during compilation:
./obj/local/armeabi/objs-debug/tests/main.o: In function `Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit':
/Users/regisandre/Desktop/XCode/Coco2dx/cocos2d-1.0.1-x-0.10.0/tests_copie_2/test.android/jni/tests/main.cpp:24: undefined reference to `AppDelegate::AppDelegate()'
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi/libtests.so] Error 1
Any idea from where it comes ?
Thanks!