In general I won't disagree that the Android build scripts could do with revising. Size wise I don't think there's much to be concerned about - only the exception support code and related runtime aspects of the library are used by the rev externals (they don't use things like iostreams) so the added footprint is minimal.ģ) -j 20 was the value that gave the fastest full compile on my machine in the office, the default should probably be lower Looking at the latest NDK, it does appear that they have added a dynamic linking variant so that is something to look into - although it does sound like you have to include the shared stdc++ library in the package (as you have to load it explicitly before any modules using it). At the time of the initial port, C++ exception support had only just been introduced and the variant of the library that supports exceptions (gnustl) only had a static linking variant - however we couldn't get the Android build system switches to work correctly so had to hardcode the path. To give some context to a couple of your questions.ġ/2) Only some of the rev externals require the standard c++ library (they use the vector template and thus require exception handling), the main engine does not. Note: At the moment we only have a script for building the Android engine on Mac Glad you got it working - the build scripts for Android are currently tied to the r6b ndk. sdks/android-sdk must point to or be the SDK folder (unarchived from above) sdks/android-ndk must point to or be the NDK folder (unarchived from above) The Android SDK and NDK need to be placed (or symlinked) to a sub-folder of your local repository. Once downloaded and extracted, launch the SDK utility (tools/android) and install the SDK Platform package for Android 2.2 (API. index.htmlĬlick “Download for Other Platforms” and select the “SDK Tools Only” package for your platform. To build android you need the following prerequisites:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |