OpenGL Bindings
Mike Parker
aldacron71 at yahoo.com
Wed May 24 17:25:58 PDT 2006
Anders Runesson wrote:
> I'm guessing it's something to do with the bindings using std.loader to
> get the addresses of the functions used, and making function pointers to
> call them. I haven't tried using OpenGL with D before, but I was
> planning on doing it soon, so I'm probably going to follow in your
> steps. :)
The OpenGL bindings in the Bindings project do not load through
std.loader. It's a binding that requires statically linking with the
import library. Derelict is the project that loads dynamically, but
through a custom loading mechanism rather than std.loader.
>
> ons 2006-05-24 klockan 20:23 +0000 skrev Michael:
>> Im using the GL bindings from
>> http://dsource.org/projects/bindings/wiki/OpenGraphicsLibrary but they cause my
>> executable to crash, even before my main has been called. Has anyone else
>> experienced this? There doesnt seem to be any documentation that I can see.
The Bindings project is a loose collection of bindings contributed by
several different people. Sort of a fire and forget thing. That's most
likely why there's not any documentation. If you are on Windows, make
sure you use the lib and def files provided by the bindings projects (in
the lib and def subdirectories, respectively).
More information about the Digitalmars-d
mailing list