On Wednesday, 13 June 2012 at 13:03:04 UTC, Zhenya wrote:
When I wanted to use native opengl binding

module main;

import std.stdio;

import c.gl.gl;
pragma(lib,"opengl32.lib");

import c.gl.glu;
pragma(lib,"glu32.lib");

int main(string[] argv)
{
   writeln("Hello D-World!");
   return 0;
}

DMD wrote:opengl32.lib
 Error 43: Not a Valid Library File

But why can't dmd link it?

Try gdc? https://bitbucket.org/goshawk/gdc/downloads

Reply via email to