Something like derelict but for D 2.x and Phobos?

Bruno Medeiros brunodomedeiros+spam at com.gmail
Sat Oct 27 08:58:20 PDT 2007


Anders F Björklund wrote:
> dominik wrote:
> 
>> well, title says it all - is there something like it out there?
> 
>> So basically, I am on latest D 2.x and would like to utilize OpenGL, 
>> OpenAL, SDL and other goodies, along with Bud. Is there a hope? 
> 
> I have some stuff for D 1.x and (GNU) Make, maybe it would work ?
> 
> http://www.algonet.se/~afb/d/ (OpenGL 1.2, OpenAL 1.0, SDL 1.2 etc)
> 
> --anders

I've tried your bindings a few weeks ago, and they're not working.
First, you have some variables named "ref" in OpenGL which doesn't work 
in D 1.x (unless you use the -v1 switch).
Second, and more importantly, you're still using the idiom:
   version (Windows)
     extern (Windows):
   else
     extern (C):
Which no longer works in D1.x.

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D


More information about the Digitalmars-d-learn mailing list