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

Dependencies of cocos2d-x.
142 stars 169 forks source link

Support for android x86_64 #176

Open JoHuang opened 5 years ago

JoHuang commented 5 years ago

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

Dimon4eg commented 5 years ago

Added in #182

neokim commented 4 years ago

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?

Dimon4eg commented 4 years ago

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

neokim commented 4 years ago

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

Dimon4eg commented 4 years ago

@neokim here is PR https://github.com/cocos2d/cocos2d-x-3rd-party-libs-bin/pull/393

neokim commented 4 years ago

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.

Dimon4eg commented 4 years ago

Build fails for x86?

kkotdoly commented 4 years ago

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'

Sevael commented 4 years ago

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 'uvpthread_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 uvsignal_stop: error: undefined reference to 'uvpthread_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 uvsignal_stop: error: undefined reference to 'uvpthread_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 uvsignal_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

workeronearth commented 3 years ago

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