Changes between Version 123 and Version 124 of AndroidPort


Ignore:
Timestamp:
Jan 16, 2012, 7:14:37 AM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v123 v124  
    210210
    211211=== Installing replacement libraries ===
    212 The Android platform provides only a very minimal C++ runtime support library (/system/lib/libstdc++) and corresponding headers for it in the NDK. To compile the game with the Standard C++ Library, we have to explicitly instruct `ndk-build` to compile against the GNU STL runtime. We also have to explicitly enable support for exceptions, and set the `CONFIG2_GLES` flag so the game is compiled for the OpenGL ES API.
     212The Android platform provides only a very minimal C++ runtime support library (/system/lib/libstdc++) and corresponding headers for it in the NDK. To compile the game with the Standard C++ Library, we have to explicitly instruct `ndk-build` to compile against the GNU STL runtime. We also have to explicitly enable support for exceptions, and set the `CONFIG2_GLES` flag so the game is compiled to target the OpenGL ES API.
    213213
    214214Create a new file called `Application.mk` under the `jni` directory in the project directory, e.g.: