ddsss

How to install derelict using dsss and dmd


I'm starting with the D programming language and I wanted to do some graphics programming stuff with OpenGL, so I understand the way to go is to use the Derelict bindings.

Now, I installed the DMD 2 compiler, also DSSS, but I'm having trouble installing derelict using dsss net install derelict. It says that "gdc is not in $PATH". I don't understand if the install needs the gdc compiler or what. Can I change dsss to use dmd instead?

Also, bonus question, does Derelict support D2 or do I need Derelict2?

EDIT: I'm on OSX 10.7


Solution

  • You need Derelict2 (or eventually the newest Derelict3). Just checkout the relevant branch on the dsource svn (or github for Derelict3).

    What I do is just compiling the Derelict sources I need and link it with my own code, without making a static library first.

    Can't help you with DSSS, or what would be a suitable D build system on OS X.