Changes between Version 10 and Version 11 of AndroidPort


Ignore:
Timestamp:
Dec 29, 2011, 10:48:14 AM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v10 v11  
    4343Android-compatible replacements must be found for all [http://trac.wildfiregames.com/wiki/BuildInstructions#Linux the dependencies of the PC edition]. This is what we have so far:
    4444
    45  * GCC - the Android NDK provides its own ndk-build tool for compiling.
    46  * Subversion - assuming this is just for obtaining the source, this can be done on a PC workstation.
    47  * SDL - is already [http://www.libsdl.org/tmp/SDL/README.android ported to Android].
    48  * Boost - there is [https://github.com/MysticTreeGames/Boost-for-Android an unofficial port].
    49  * zlib - libz is part of the native NDK.
    50  * libpng - there's unofficial ports like [https://github.com/julienr/libpng-android this one].
    51  * libxml2 - Google publishes [https://github.com/android/platform_external_libxml2 a tree] that is tuned to compile on Android.
    52  * OpenGL - this must be ported to OpenGL ES.
    53  * OpenAL - this should be ported to OpenSL ES.
    54  * zip - not sure which exact library this refers to.
    55  * libogg - may be covered by Tremor (below).
    56  * libvorbis - this can be [http://www.badlogicgames.com/wordpress/?p=451 done with Tremor].
    57  * libcurl - may be ported [http://thesoftwarerogue.blogspot.com/2010/05/porting-of-libcurl-to-android-os-using.html like this].
    58  * Gamin - don't know about this one.
    59  * CMake - all build tools are provided by the NDK.
     45 * ''GCC'' - The Android NDK provides its own ndk-build tool for compiling.
     46 * ''Subversion'' - Assuming this is just for obtaining the source, this can be done on a PC workstation.
     47 * ''SDL'' - Is already [http://www.libsdl.org/tmp/SDL/README.android ported to Android].
     48 * ''Boost'' - There is [https://github.com/MysticTreeGames/Boost-for-Android an unofficial port].
     49 * ''zlib'' - libz is part of the native NDK.
     50 * ''libpng'' - There's unofficial ports like [https://github.com/julienr/libpng-android this one].
     51 * ''libxml2'' - Google publishes [https://github.com/android/platform_external_libxml2 a tree] that is tuned to compile on Android.
     52 * ''OpenGL'' - This must be ported to OpenGL ES.
     53 * ''OpenAL'' - This should be ported to OpenSL ES.
     54 * ''zip'' - Not sure which exact library this refers to?
     55 * ''libogg'' - May be covered by Tremor (below).
     56 * ''libvorbis'' - This can be [http://www.badlogicgames.com/wordpress/?p=451 done with Tremor].
     57 * ''libcurl'' - May be ported [http://thesoftwarerogue.blogspot.com/2010/05/porting-of-libcurl-to-android-os-using.html like this].
     58 * ''Gamin'' - Don't know about this one. It's used for monitoring file hotloading which doesn't seem as useful on an Android device.
     59 * ''CMake'' - All build tools are provided by the NDK.
    6060
    6161In addition to the external dependencies above, the following are bundled with the game:
    6262
    63  * NVTT - not sure about this one. what does it do?
    64  * Spidermonkey - can this be ported to Android's native V8 engine? if not, presumably Spidermonkey has been ported as part of [https://wiki.mozilla.org/Mobile/Fennec/Android Fennec].
    65  * Enet - from a quick check, I see no dependencies outside of libc, so this should compile natively.
    66  * fcollada - not sure. [http://code.google.com/p/androido3d/source/browse/android/apps/o3d/project/jni/third_party/fcollada/?r=cbad51c9dd35d6bbabe8edb40acf4fdbb8ebcc87#fcollada%2Ffiles this] might do it. 
     63 * ''[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).
     64 * ''Spidermonkey'' - Presumably, Spidermonkey has been ported as part of [https://wiki.mozilla.org/Mobile/Fennec/Android Fennec]. We can't use V8 (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.
     65 * ''Enet'' - From a quick check, I see no dependencies outside of libc, so this should compile natively.
     66 * ''FCollada'' - We use a customised/bugfixed version of FCollada, so a port of the standard version of FCollada probably wouldn't work.