%general-entities; ]> $LastChangedBy$ $Date$ SDL-&sdl-version; SDL Introduction to SDL 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. &lfs76_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &sdl-md5sum; Download size: &sdl-size; Estimated disk space required: &sdl-buildsize; Estimated build time: &sdl-time; SDL Dependencies Optional , , , , , , DirectFB, GGI, SVGAlib-1.9.5 (patched), libcaca and PicoGUI User Notes: Installation of SDL Install SDL by running the following commands: sed -i '/_XData32/s:register long:register _Xconst long:' src/video/x11/SDL_x11sym.h && ./configure --prefix=/usr --disable-static && make Now, as the root user: make install && install -v -m755 -d /usr/share/doc/SDL-&sdl-version;/html && install -v -m644 docs/html/*.html \ /usr/share/doc/SDL-&sdl-version;/html Testing SDL If you wish 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 (they are listed in the README file in this directory). Many of them will need to be manually killed, and you'll need to turn your speakers on with the volume at a suitable level. Command Explanations sed -i ...: This command fixes compilation with libX11-1.6.0 Configuring SDL Configuration Information Contents Installed Program Installed Libraries Installed Directories sdl-config libSDL.so and libSDLmain.a /usr/include/SDL and /usr/share/doc/SDL-&sdl-version; Short Descriptions sdl-config determines the compile and linker flags that should be used to compile and link programs that use libSDL. sdl-config libSDL.so library provides low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D frame buffer across multiple platforms. libSDL.so