cocos2d / cocos2d-x-3rd-party-libs-src

Dependencies of cocos2d-x.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for android x86_64

JoHuang opened this issue · comments

Hi

We would like to support x86_64 for our game because of Google play's policy.
Could you add this support or give us a direction how to use this script to generate the libs?

Thanks

Added in #182

Hi @Dimon4eg, I'm having trouble building libraries through this repo. Can you add the prebuilt x86_64 binaries into cocos2d-x-3rd-party-libs-bin as a PR?

What problem do you have?
I can upload my binaries for all libs except spidermonkey which I was not able to build.

It will be very helpful to me if you upload the binaries. Thanks in advance.

Appreciate it @Dimon4eg. I got able to upload my APK with your help. The problem I was having is a link error on luajit build (ld: symbol(s) not found for architecture i386) anyway.

Build fails for x86?

cocos2d-x-3rd-party-libs-bin-android_x86_64 download

next build

build error help

/Users/dimo4eg/dev/cocos2d-x-3rd-party-libs-src/contrib/android-x86_64/uv/src/unix/signal.c:function uv__signal_start: error: undefined reference to 'uv__pthread_sigmask'

I meet the same problem.

09:59:12.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Y:/App/Cocos2D/external/uv/prebuilt/android/x86_64/libuv_a.a(process.c.o):/Users/dimo4eg/dev/cocos2d-x-3rd-party-libs-src/contrib/android-x86_64/uv/src/unix/process.c:function uv_spawn: error: undefined reference to 'uv__pthread_sigmask'
09:59:12.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Y:/App/Cocos2D/external/uv/prebuilt/android/x86_64/libuv_a.a(signal.c.o):/Users/dimo4eg/dev/cocos2d-x-3rd-party-libs-src/contrib/android-x86_64/uv/src/unix/signal.c:function uv__signal_stop: error: undefined reference to 'uv__pthread_sigmask'
09:59:12.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Y:/App/Cocos2D/external/uv/prebuilt/android/x86_64/libuv_a.a(signal.c.o):/Users/dimo4eg/dev/cocos2d-x-3rd-party-libs-src/contrib/android-x86_64/uv/src/unix/signal.c:function uv__signal_stop: error: undefined reference to 'uv__pthread_sigmask'
09:59:12.017 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Y:/App/Cocos2D/external/uv/prebuilt/android/x86_64/libuv_a.a(signal.c.o):/Users/dimo4eg/dev/cocos2d-x-3rd-party-libs-src/contrib/android-x86_64/uv/src/unix/signal.c:function uv__signal_start: error: undefined reference to 'uv__pthread_sigmask'
09:59:12.017 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] clang++: error: linker command failed with exit code 1 (use -v to see invocation)
09:59:12.017 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] make: *** [R:/build/proj.android/App/intermediates/ndkBuild/debug/obj/local/x86_64/libMyGame.so] Error 1

hi brother ,How you solve it,I meet same problem