SDL-1.2.7

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.

Package information

Installation of SDL

Install SDL by running the following commands:

./configure --prefix=/usr --disable-debug &&
make &&
make install

Command explanations

--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.

Configuring SDL

Configuration Information

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.

Contents

The SDL package contains the Simple DirectMedia Layer.

Description

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 frame buffer across multiple platforms.