Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, and video. It is used by MPEG playback software, emulators, and many popular games. SDL is written in C, but works with C++ natively.

SDL support on Wii is currently incomplete. Although SDL is useable, you will likely experience problems until this is rectified. Please contribute any improvements you make to the SDL Wii SVN.

How to use

  • Grab the latest devkitPPC and libogc

  • Download and copy the PPC ported libraries to your portlibs folder (on Windows this is c:\devkitPro\portlibs\ppc)

  • Copy all of the SDL files to the libogc folder (on Windows by default this is c:\devkitPro\libogc).


Remember to link the libraries in the right order:

Code:
LIBS	:=	-lSDL_net -lSDL_ttf -lSDL_gfx -lSDL_mixer -lSDL_image -lsmpeg \
                -lSDL -ljpeg -lpng -lfreetype -lvorbisidec \
                -lz -lfat -lwiiuse -lbte -logc -lm -lwiikeyboard

Download
Source- sdl-wii - Project Hosting on Google Code