![]() I'm taking a page from Dolphin's book, and including copies of each dependency's source code. This combines the ease of use of including pre-built libraries instead of needing to navigate a package manager - as is (or was) the case for MSVC - with the portability of using packages. Granted, this method's more of a jack of all trades, master of none, since it's *less* user-friendly than prebuilt packages (compilation times), and you don't get the per-distro compatibility fixes you'd get from a package manager. You can still use system libs if you want. In fact, it's still the default behaviour: compiling the libs manually is just a fallback. I'll add an option to force-enable this soon, however, since it's a nicer way to produce static MSYS2 builds than the hackish nightmare that I was using before. Not to mention, having my own copy of the sources means I can provide my own fixes and tweaks your package manager may not. For example, I can combine MSYS2's FreeType subpixel rendering with vcpkg's fix for SDL2 exporting its symbols in static builds. |
||
---|---|---|
.. | ||
doxyfile | ||
README-android.md | ||
README-cmake.md | ||
README-directfb.md | ||
README-dynapi.md | ||
README-emscripten.md | ||
README-gesture.md | ||
README-hg.md | ||
README-ios.md | ||
README-linux.md | ||
README-macosx.md | ||
README-nacl.md | ||
README-pandora.md | ||
README-platforms.md | ||
README-porting.md | ||
README-psp.md | ||
README-raspberrypi.md | ||
README-touch.md | ||
README-wince.md | ||
README-windows.md | ||
README-winrt.md | ||
README.md |
Simple DirectMedia Layer
(SDL)
Version 2.0
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
SDL officially supports Windows, Mac OS X, Linux, iOS, and Android. Support for other platforms may be found in the source code.
SDL is written in C, works natively with C++, and there are bindings available for several other languages, including C# and Python.
This library is distributed under the zlib license, which can be found in the file "COPYING.txt".
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 and FAQs are available online at the wiki
- Android
- CMake
- DirectFB
- DynAPI
- Emscripten
- Gesture
- Mercurial
- iOS
- Linux
- OS X
- Native Client
- Pandora
- Supported Platforms
- Porting information
- PSP
- Raspberry Pi
- Touch
- WinCE
- Windows
- WinRT
If you need help with the library, or just want to discuss SDL related issues, you can join the developers mailing list
If you want to report bugs or contribute patches, please submit them to bugzilla
Enjoy!
Sam Lantinga mailto:slouken@libsdl.org