Changes between Version 93 and Version 94 of AndroidPort
- Timestamp:
- Jan 10, 2012, 6:10:27 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidPort
v93 v94 191 191 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 STL runtime. 192 192 193 Create a new file called `Application.mk` under the `jni`directory in the project directory, e.g.:193 Create a new file called `Application.mk` under thedirectory in the project directory, e.g.: 194 194 195 195 {{{ … … 204 204 Then save the file and exit the text editor. 205 205 206 207 208 209 210 211 212 213 214 215 216 217 218 206 219 == Building the application == 207 220 The native library (i.e. the actual game) is built by running the `ndk-build` command in the project directory, e.g.: