Changes between Version 123 and Version 124 of AndroidPort
- Timestamp:
- Jan 16, 2012, 7:14:37 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidPort
v123 v124 210 210 211 211 === 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 forthe OpenGL ES API.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 to target the OpenGL ES API. 213 213 214 214 Create a new file called `Application.mk` under the `jni` directory in the project directory, e.g.: