Derelict GLFW3 glfw3.dll error

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Nov 27 19:05:46 PST 2015


On Friday, 27 November 2015 at 22:58:20 UTC, Alexander wrote:
> import std.stdio;
>
> import derelict.opengl3.gl3;
> import derelict.glfw3.glfw3;
> pragma(lib, 
> "C:\\Users\\Alexander\\AppData\\Roaming\\dub\\packages\\derelict-gl3-1.0.17\\lib\\DerelictGL3");
> pragma(lib, 
> "C:\\Users\\Alexander\\AppData\\Roaming\\dub\\packages\\derelict-glfw3-master\\lib\\DerelictGLFW3");
> pragma(lib, 
> "C:\\Users\\Alexander\\AppData\\Roaming\\dub\\packages\\derelict-util-2.0.4\\lib\\DerelictUtil");
> pragma(lib,"lb");
>

I should also point out that if you're using DUB to build your 
project, you do not need these pragmas. DUB will manage all of 
this for you.


More information about the Digitalmars-d-learn mailing list