| Summary: | README.android misses build instruction: copy SDL_config_android.h -> SDL_config.h | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ellie <etc0de> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | minor | ||
| Priority: | P2 | CC: | philipp.wiesemann |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Android (All) | ||
|
Description
Ellie
2012-01-29 16:54:57 UTC
To help with a fix, I'll suggest a wording (see step 2): ================================================================================ Building an app ================================================================================ Instructions: 1. Copy the android-project directory wherever you want to keep your projects and rename it to the name of your project. 2. Move this SDL directory into the <project>/jni directory and then copy SDL_config_android.h to SDL_config.h inside the include folder 3. Place your application source files in the <project>/jni/src directory 4. Edit <project>/jni/src/Android.mk to include your source files 5. Run 'ndk-build' (a script provided by the NDK). This compiles the C source Thanks for the wording! This is now fixed. http://hg.libsdl.org/SDL/rev/2fa7e0540f95 The copying of the SDL_config_android.h is not needed because on 2012-01-03 SDL_config.h was changed in repository to include SDL_config_android.h if compiled on Android. Therefore this instruction is not needed (it even was not when added to README on 2012-01-31) and only complicates the process. |