Changes between Version 233 and Version 234 of AndroidPort
- Timestamp:
- Feb 15, 2012, 1:33:16 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidPort
v233 v234 130 130 131 131 * ''[http://code.google.com/p/nvidia-texture-tools/ NVTT]'' - We don't need any of its fancy features like CUDA support or image-loading tools, just the basic CPU-only compression library, so it should be buildable with no significant external dependencies (though its build system might need fixing). 132 * ''Spidermonkey'' - Spidermonkey has been ported as part of [https://wiki.mozilla.org/Mobile/Fennec/Android Fennec]. We can't use Android's native V8 engine since we rely on some complex API features, so porting would be a huge amount of work. !SpiderMonkey isn't API-compatible or behaviour-compatible across versions, so it'd be best to use the same [https://developer.mozilla.org/en/SpiderMonkey/1.8.5 1.8.5] release as we use on PCs if possible ; I think the standard releases are meant to work on ARM, so that should be okay.132 * ''Spidermonkey'' - Spidermonkey has been ported as part of [https://wiki.mozilla.org/Mobile/Fennec/Android Fennec]. We can't use Android's native V8 engine since we rely on some complex API features, so porting would be a huge amount of work. !SpiderMonkey isn't API-compatible or behaviour-compatible across versions, so it'd be best to use the same [https://developer.mozilla.org/en/SpiderMonkey/1.8.5 1.8.5] release as we use on PCs if possible. 133 133 * ''Enet'' - Compiles natively against the NDK. 134 134 * ''FCollada'' - We use a customised/bugfixed version of FCollada, so a port of the standard version of FCollada probably wouldn't work. Our own version has no significant dependencies other than libxml2. … … 163 163 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. 164 164 165 Download the latest release from [http://www.crystax.net/en/android/ndk this page]to the working directory and then unpack there, e.g.:165 Download the latest release from [http://www.crystax.net/en/android/ndk this page] to the working directory and then unpack there, e.g.: 166 166 167 167 {{{ … … 217 217 $ cd MysticTreeGames-Boost-for-Android-70838fc 218 218 }}} 219 Apply [http://www.wildfiregames.com/forum/index.php?showtopic=15436&view=findpost&p=234163 this patch]somehow.219 Apply [http://www.wildfiregames.com/forum/index.php?showtopic=15436&view=findpost&p=234163 this patch] somehow. 220 220 221 221 Then execute the following command to download the Boost C++ Libraries package and compile it for the target device: … … 234 234 $ mv $SYSROOT/usr/include/boost-1_45/boost $SYSROOT/usr/include 235 235 }}} 236 237 238 236 Spidermonkey is designed to build against an older version of the NDK than that of our main compiler toolchain. Download [http://ftp.mozilla.org/pub/mozilla.org/mobile/source/android-ndk-r4c-0moz3.tar.bz2 Mozilla's own toolchain] to the working directory and then unpack it there, e.g.: 239 237