-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Howto compile Node android arm shared with NDK r17 canary and libc++? #14771
Comments
@DanAlbert was kind enough to point out I am still using The only issue is, I do not know how to configure libc++. There is no Application.mk and I tried adding |
FYI: I've tried many different ways to get NodeJS running on Android and spent yesterday all-day compiling without success. |
Is this a duplicate of #14783? If so we should probably close it so any discussion happens in one place. |
Looks like it. |
I'll close. @aschrijver I'm happy to reopen this if you think it should be reopened, let me know. |
No problem. I will transfer my findings there and add a descriptive title :) |
I am trying to compile NodeJS as native library for Android (
arm
) on Ubuntu 16.04 (4.4.0-59-generic) with the latest NDK continuous buildI am using canary NDK because of earlier
node-matchers.h error 'nearbyint' is not a member of 'std'
with stable r15 ndk and this github issue: android/ndk#82 (comment)Procedure:
git clone --depth=2 -b v8.x https://github.com/nodejs/node.git
android-configure
: add--force
to make_toolchain, add--without-intl --shared
to configure./android-configure /home/arnold/Android/android-ndk-r17-canary arm
LDFLAGS=-shared make
And the resulting output was:
I thought this was fixed in latest NDK. Any ideas?
The text was updated successfully, but these errors were encountered: