- Execute following command to create a standalone NDK Toolchain, which will be used to compile iguana for Android. MAKE SURE TO CHANGE VALUE OF "--install-dir".
- Copy "curl" and "openssl" directory from "/android/include/" to NDK Standalone Toolchain directory's library includes directory. (eg. /home/user/ndkTC/sysroot/usr/include/)
- Copy all files from "/android/lib/" to NDK Standalone Toolchain directory's "lib" files directory. (eg. /home/user/ndkTC/sysroot/usr/lib/)
@ -20,9 +20,11 @@ source set_android_env.sh
- Check if you get output of following commands:
echo $CC
echo $CC2
echo $AR
`echo $CC`
`echo $CC2`
`echo $AR`
- If getting output your Android NDK developement environment is set temporarily in terminal window in which you executed the set_android_env.sh script.
@ -31,8 +33,9 @@ echo $AR
- Once you have the Android NDK environment set, execute the following commands:
./m_onetime_android
./m_android
`./m_onetime_android`
`./m_android`
NOTE: This build of iguan will only work with Android version 5.x. Tested with Android 6.0 gave errors related to libssl functions. If you want to compile iguana for Android 6.0, you either need to compile static 'libssl.a' or NDK 'Platform 23' directory.