Boost-for-Android icon indicating copy to clipboard operation
Boost-for-Android copied to clipboard

Build from android source failed

Open qdk0901 opened this issue 11 years ago • 2 comments

android source version: 4.1 throw many of errors: fatal error: cstddef: No such file or directory

qdk0901 avatar Aug 18 '14 08:08 qdk0901

I had the same error. I changed 4.6 to 4.9 at build-android.sh and linked (ln -s) to allow accesses to 4.6 named directories at android ndk subdirs. Also I linked platforms/Android-L to android-9 But I get: /home/pablo/android-ndk-r10/sources/cxx-stl/gnu-libstdc++/4.6/include/cctype:64:11: error: '::isalnum' has not been declared using ::isalnum; Ubuntu Trusty 64b NDKr10

PabloGN avatar Aug 27 '14 13:08 PabloGN

Hehe, I found the issue. I did a mistake, I chose the 64b version of the NDK, I mean, the NDK whose purpose is to generate binaries for 64bit machines. Besides of the host machine, whether it is 32 or 64b, but the target machine.

PabloGN avatar Aug 30 '14 20:08 PabloGN