You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to compile the binaries for Android using the buildAndroid.sh script on Mac OSX but I'm having little luck.
I've used the android r10e NDK bundle to compile and I've changed the buildAndroid.sh script's content to correctly point to the NDK directory. I've also change the following line export NDK_TOOLCHAIN=${NDK}/toolchains/${CROSS_COMPILE}-4.9/prebuilt/linux-x86_64/bin to read export NDK_TOOLCHAIN=${NDK}/toolchains/${CROSS_COMPILE}-4.9/prebuilt/darwin-x86_64/bin because OSX.
However, the build always fails with the following error:
src/core/smileCommon.cpp: In function 'int clock_gettime(int, timespec*)':
src/core/smileCommon.cpp:171:31: error: 'TIMEVAL_TO_TIMESPEC' was not declared in this scope
TIMEVAL_TO_TIMESPEC (&tv, tp); // Convert into `timespec'.
The text was updated successfully, but these errors were encountered:
I also had these kind of issues on mac osx (after resolving some of them new ones steadily showed up) so I decided to run the compilation on a remote linux machine at the end, it worked way better then. Sorry if this advice does not help much
For anyone having compilation issues with 2.3 on OS X, you may want to move to the new version 3.0 which ships with pre-built OS X binaries. The build process relies on CMake now and should work out-of-the-box on recent versions of OS X.
Hi,
I've been trying to compile the binaries for Android using the buildAndroid.sh script on Mac OSX but I'm having little luck.
I've used the android r10e NDK bundle to compile and I've changed the buildAndroid.sh script's content to correctly point to the NDK directory. I've also change the following line
export NDK_TOOLCHAIN=${NDK}/toolchains/${CROSS_COMPILE}-4.9/prebuilt/linux-x86_64/bin
to readexport NDK_TOOLCHAIN=${NDK}/toolchains/${CROSS_COMPILE}-4.9/prebuilt/darwin-x86_64/bin
because OSX.However, the build always fails with the following error:
The text was updated successfully, but these errors were encountered: