Download location (HTTP): http://www.libsdl.org/release/SDL-1.2.5.tar.gz Download location (FTP): Version used: 1.2.5 Package size: 1.8 MB Estimated Disk space required: 14 MB |
The Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multimedia software, such as games and emulators.
SDL will utilize: oss, alsa-0.9.2, esound-0.2.29, arts-1.1, nas-1.6, nasm, xfree86-4.3.0, aalib-1.4rc4 and DirectFB |
Install SDL by running the following commands:
./configure --prefix=/usr --disable-debug && make && make install |
--disable-debug : This switch configures SDL to build with aggressive optimizations.
--enable-video-aalib : This optional switch is required to build SDL with AAlib video support.
As with most libraries, there is no configuration to do, save that the library directory i.e. /usr/lib or /usr/local/lib should appear in /etc/ld.so.conf so that ldd can find the shared libraries. After checking that this is the case, /sbin/ldconfig should be run while logged in as root.
The SDL package contains the Simple DirectMedia Layer.
The Simple DirectMedia Layer is a generic API that provides low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D framebuffer across multiple platforms.