Changes between Version 157 and Version 158 of AndroidPort


Ignore:
Timestamp:
Jan 24, 2012, 5:02:45 PM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v157 v158  
    152152A window with installable packages should open. In addition to any packages checked by default, make sure 'Android SDK Platform-tools' is checked and click 'Install packages'.
    153153
    154 Google publishes a [http://developer.android.com/sdk/ndk/index.html Native Development Kit] (NDK), which is a set of tools for building native applications for the Android platform. Unfortunately, the official NDK does not and will not support the `std::wstring` (wide characters) datatype, which is required by the game, so we'll have to use the unofficial [http://www.crystax.net/android/ndk.php Crystax NDK]. This is merely an extension of the official NDK, adding support for wide characters and other features maligned by Google.
    155 
    156 Download the NDK package from [http://www.crystax.net/da/android/ndk/7 this page] to the working directory and then unpack there, e.g.:
     154Google publishes a [http://developer.android.com/sdk/ndk/index.html Native Development Kit] (NDK), which is a set of tools for building native applications for the Android platform. Unfortunately, the official NDK does not and will not support the `std::wstring` (wide characters) datatype, which is required by the game, so we'll have to use the unofficial [http://www.crystax.net/android/ndk.php Crystax NDK]. This is merely an extension of the official NDK, adding support for wide characters and other features maligned by Google. Currently, the port of the Boost C++ Libraries that we use require us to use the r5 version of the NDK.
     155
     156Download the NDK package from [http://www.crystax.net/da/android/ndk/5 this page] to the working directory and then unpack there, e.g.:
    157157
    158158{{{
    159159$ cd ~/android
    160 $ tar -xvf android-ndk-r7-crystax-4-linux-x86.tar.bz2
     160$ tar -xvf android-ndk-r5-crystax-2-linux-x86.tar.bz2
    161161}}}
    162162
     
    164164
    165165{{{
    166 $ ~/android/android-ndk-r7-crystax-4/build/tools/make-standalone-toolchain.sh --platform=android-14 --install-dir=$HOME/android/toolchain
     166$ ~/android/android-ndk-r5-crystax-2/build/tools/make-standalone-toolchain.sh --platform=android-14 --install-dir=$HOME/android/toolchain
    167167}}}
    168168