Using OpenGL
Darren via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Sep 2 13:38:15 PDT 2016
I'm trying to teach myself OpenGL but I'm not sure how to set it
up exactly.
I used "dub init" to create a project, I downloaded glew32.dll
and glfw.dll and put them in this folder. I added
"derelict-gl3": "~>1.0.19" and "derelict-glfw3": "~>3.1.0" to
dependencies, and imported them in the app.d file. I add the
load() and reload() functions where appropriate (I assume).
I can run a simple window program and it seems to work fine, but
I notice that's when all the functions begin with "glfw". If I
try to follow a tutorial for loading a triangle, I get errors
when trying to build.
Do I need to link an opengl.dll file, too?
More information about the Digitalmars-d-learn
mailing list