SDL4Freepascal

 

Español English

About

SDL4Freepascal is a set of FreePascal modules (units) with bindings to the SDL (Simple Directmedia Layer) Library. SDL is a portable library (Unix, Windows, BeOS) released under the LGPL license for programming multimedia apps and games.

There is more info about SDL at the SDL website and at the Loki website (Loki is a company that ports commercial games for Linux using SDL; Sam Lantinga, SDL's author, works for Loki).

SDL4Freepascal is available under then LGPL, i.e. you can use it to program Free or propietary apps.

Versions

There are two versions:

  • 1.0.0.0, based on SDL-1.0.0.
  • 1.2.0.0, based on SDL-1.2, and that works under Linux and Windows.

Mailing List

Sourceforge provides a mailing list for developers using this library. Suscribe to a the sdl4fp-users maling list

You can also send me email to dmoisset@grulic.org.ar, but I prefer being contacted through the mailing list.

Download

Status

This library is quite usable right now. Some SDL modules (like sound and cdrom audio) are missing. I'll be working on this on october/november 2003, but I don't have much time to work on this project. Any contribution is welcome.

I've tested SDL4Freepascal a lot on Linux. I know that the demos work in Windows. Some people have reported using it with bigger Windows projects, and that it works on BeOS.

Troubleshooting

If you're using FPC 1.0.10 on Linux and you get 'Runtime error 216' when calling SDL_Init, add the following compiler directive: {$LINKLIB c}. This problem will be solved in the next version of SDL4Freepascal.

 

SourceForge.net Logo