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.
Download (HTTP): http://www.libsdl.org/release/SDL-1.2.8.tar.gz
Download MD5 sum: 37aaf9f069f9c2c18856022f35de9f8c
Download size: 2.6 MB
Estimated disk space required: 36 MB
Estimated build time: 0.8 SBU
ALSA-1.0.9, EsounD-0.2.35, aRts-1.4.1, NAS-1.7, NASM-0.98.39, X (XFree86-4.5.0 or X.org-6.8.2), AAlib-1.4rc5, DirectFB, SVGAlib, GNU Pth, Qtopia and PicoGUI
Install SDL by running the following commands:
./configure --prefix=/usr --disable-debug && make
Now, as the root user:
make install && install -v -m755 -d /usr/share/doc/SDL-1.2.8/html && install -v -m644 docs/html/*.html /usr/share/doc/SDL-1.2.8/html
--disable-debug: This switch configures SDL to build with aggressive optimizations.
--enable-video-aalib: This switch is required to build SDL with AAlib video support.
It is advisable to test the installation of SDL using the included test programs. It is not required to install any of the resulting binaries to validate the installation. Issue the following commands to build the test programs:
cd test && ./configure && make
You'll need to manually run all the test programs.
As with most libraries, there is no configuration to do, save that the library directory i.e., /opt/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.
Last updated on 2005-08-01 13:29:19 -0600