mirror of
https://github.com/yawut/SDL.git
synced 2026-07-13 15:22:05 -05:00
SDL2 for the Nintendo Wii U (build with "cmake [SDL source path] -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$DEVKITPRO/portlibs/wiiu")
ny00@outlook.com Let me quote the following opening tag from android-project/AndroidManifest.xml: <manifest xmlns:android="http://schemas.android.com/apk/res/android" <!-- Replace org.libsdl.app with the identifier of your game, e.g. com.gamemaker.game --> package="org.libsdl.app" android:versionCode="1" android:versionName="1.0" android:installLocation="auto"> The comment (with the text "Replace org.libsdl.app with...") seems to be a cause of troubles. Here are a few examples I've spotted: 1) While using nkd-build from android-ndk-r8d, I receive the following error: Invalid attribute name: <!-- replace org.libsdl.app with the identifier of your game, e.g. com.gamemaker.game -- /home/ny00123/util/android-ndk-r8d/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop. 2) Repeating this but with android-ndk-r6b (an earlier revision), it reduces to a warning and actual complication is not halted. 3) Following the instructions in README.android and using Eclipse (from a recently downloaded ADT Bundle), I cannot seem to be able to create an Android project from existing sources (one of the SDL test apps for now). * On a side note, I can't find where I may choose the "Build Target" before clicking "Finish", but it does not seem to be related to this bug report. Anyway, following the choice of the project path and a click on "Finish", nothing seems to occur. If I rather do so after removing the above comment from AndroidManifest.xml, though, the project appears on Eclipse as expected once I click on "Finish". |
||
|---|---|---|
| acinclude | ||
| android-project | ||
| build-scripts | ||
| cmake | ||
| include | ||
| src | ||
| test | ||
| VisualC | ||
| Xcode | ||
| Xcode-iOS | ||
| .DISABLED-hgeol | ||
| .hgignore | ||
| .hgtags | ||
| .indent.pro | ||
| aclocal.m4 | ||
| Android.mk | ||
| autogen.sh | ||
| BUGS | ||
| CMakeLists.txt | ||
| configure | ||
| configure.in | ||
| COPYING | ||
| CREDITS | ||
| INSTALL | ||
| Makefile.ds | ||
| Makefile.in | ||
| Makefile.minimal | ||
| Makefile.pandora | ||
| Makefile.wiz | ||
| README | ||
| README-SDL.txt | ||
| README.android | ||
| README.cmake | ||
| README.DirectFB | ||
| README.ds | ||
| README.gesture | ||
| README.HG | ||
| README.iOS | ||
| README.MacOSX | ||
| README.pandora | ||
| README.Platforms | ||
| README.Porting | ||
| README.touch | ||
| README.WinCE | ||
| sdl2-config.in | ||
| sdl2.m4 | ||
| sdl2.pc.in | ||
| SDL2.spec.in | ||
| TODO | ||
| UNDER_CONSTRUCTION.txt | ||
| VisualC.html | ||
| WhatsNew | ||
Simple DirectMedia Layer
(SDL)
Version 2.0
---
http://www.libsdl.org/
This is the Simple DirectMedia Layer, a general API that provides low
level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL,
and 2D framebuffer across multiple platforms.
The current version supports Windows, Windows CE, Mac OS X, Linux, FreeBSD,
NetBSD, OpenBSD, BSD/OS, Solaris, iOS, and Android. The code contains
support for other operating systems but those are not officially supported.
SDL is written in C, but works with C++ natively, and has bindings to
several other languages, including Ada, C#, Eiffel, Erlang, Euphoria,
Go, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP,
Pike, Pliant, Python, Ruby, and Smalltalk.
This library is distributed under the zlib license, which can be found
in the file "COPYING".
The best way to learn how to use SDL is to check out the header files in
the "include" subdirectory and the programs in the "test" subdirectory.
The header files and test programs are well commented and always up to date.
More documentation is available in HTML format in "docs/index.html", and
a documentation wiki is available online at:
http://www.libsdl.org/cgi/docwiki.cgi
The test programs in the "test" subdirectory are in the public domain.
Frequently asked questions are answered online:
http://www.libsdl.org/faq.php
If you need help with the library, or just want to discuss SDL related
issues, you can join the developers mailing list:
http://www.libsdl.org/mailing-list.php
Enjoy!
Sam Lantinga (slouken@libsdl.org)