Hi, i started out today with cocos engine, using cocos2dx 3.3 version, ubuntu 14. i am follwing this guide here http://cocos2d-x.org/wiki/How_to_run_cpp-tests_on_Android to create an android project using eclipse. After running android-build.py the build fails with the following error
"[armeabi] StaticLibrary : libcocos2dandroid.a
[armeabi] Compile thumb : cpufeatures <= cpu-features.c
[armeabi] StaticLibrary : libcpufeatures.a
[armeabi] SharedLibrary : libcpp_tests.so
/home/User/AndDev/android-ndk-r10c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/lib/gcc/arm-linux-androideabi/4.8/…/…/…/…/arm-linux-androideabi/bin/ld: error: /home/User/AndDev/cocos2d-x-3.3rc0/build/…/external/curl/prebuilt/android/armeabi/libcurl.a(sha512-armv4.o): requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [obj/local/armeabi/libcpp_tests.so] Error 1
make: Leaving directory `/home/User/AndDev/cocos2d-x-3.3rc0/tests/cpp-tests/proj.android’
Build dynamic library for project [ /home/User/AndDev/cocos2d-x-3.3rc0/build/…/tests/cpp-tests/proj.android ] fails!
"
I think it is not able to find some library, after trying for hours no success. I am not able to figure out how to solve this issue.
Any guidance will be very helpful.
Thanks.