nodejs/node

Compiling for Android

Closed this issue · 3 comments

os: Ubuntu Server 16.04.03
./android-configure /path/to/your/android-ndk
make

above lines don't work.
I see a lot of errors while compiling,
first related to intl
I exclude intl

then std::nearbyint
I remove std::

then to_string
I define it in the file

then errors related to openssl

function app_get_pass undefined reference to stdin
and so on...

_

@p30arena just verifying - but you replaced /path/to/your/android-ndk with the actual path to your NDK - right?

cc @nodejs/build

@benjamingr yes, of course I did it!

@p30arena Android is community-supported (i.e., it's not a tier 1 platform) and not regularly tested, meaning it's probably broken. Have a look at other Android issues that people have reported, maybe they can be of help.

If you manage to fix your build woes, send a pull request our way. Note that changes to files in deps/ should be sent to their upstream projects first.