Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.
Version 21 (modified by h3r3tic, 17 years ago)
--

Welcome to Derelict

Derelict is a collection of D bindings to C shared (dynamic) libraries which are useful for multimedia applications, with a heavy bias toward game development-related libraries.

Features

Derelict supports some useful features for project development, including:

  • Cross platform compatability with shared libaries - Code that is developed on a Windows machine will compile on a Linux machine, provided both machines have the necessary libraries.
  • Selective symbol loading - This helps your application support machines that don't have the same version of a library as the development machine. Specify what parts of a library your application will use, and the program will work with all versions of the library that support those features.

Getting Started

To start using Derelict, you will need Derek Parnell's Build Utility and the latest Derelict source.

Building Derelict

To build in debug mode:

cd Derelict
dmd -run buildme.d debug

To build in Release mode:

cd Derelict
dmd -run buildme.d

Obtaining and Learning Derelict

Download Derelict: here

Alternate Download: Get Derelict via DSSS

Derelict Forums: here

Documentation: here

Tutorials: DMedia has a few tutorials on using DerelictSDL and DerelictGL.

Libraries Supported By Derelict

Here is a list of the libraries for which Derelict currently provides bindings:

  • OpenAL
  • OpenGL
  • OpenGL Utility Library (GLU)
  • DevIL, ILU, and ILUT
  • SDL
  • SDL_image
  • SDL_mixer
  • SDL_net
  • SDL_ttf
  • FreeType
  • libogg
  • libvorbis

Although not official Derelict packages, members of the community have produced the following bindings. They should work with Derelict with little to no modification.

Need More Help?

See the Derelict documentation for specific details on a particular package. If you are having problems installing or using Derelict, please visit the forums.

Projects that use Derelict