Skip to content
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

on Mac 64-bit OS X, with a 64-bit NDK, ANDROID_NDK_HOST_X64 must be set explicitly #10

Closed
alexcohn opened this issue Dec 31, 2013 · 1 comment

Comments

@alexcohn
Copy link

On Mac 64-bit OS X, with a 64-bit NDK, if ANDROID_NDK_HOST_X64 is not set explicitly, cmake fails on line 702. The reason is that CMAKE_HOST_SYSTEM_PROCESSOR=i386.

It could be enough to add a Mac section to the instructions, but I see no risk in looking for "darwin-x86_64" and "darwin-x86" even if the script cannot detect the 64-bit host.

@taka-no-me
Copy link
Owner

Thanks for reporting.

asmorkalov added a commit to asmorkalov/android-cmake that referenced this issue Jan 25, 2014
CMAKE_HOST_SYSTEM_PROCESSOR on MacOS X always says i386 on Intel.
So we do not trust ANDROID_NDK_HOST_X64 on Apple hosts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants