I am trying to use OpenGL and GLFW with Derelict3 for the D language, but I have some problems with glfw3.dll and I'm not sure what I did wrong:
- I downloaded
Derelict3 from https://github.com/aldacron/Derelict3 and ran build.d and linked *.lib (DMD compiler) with my project. - Since
Derelict3 seems to need glfw3.dll , I cloned the Git git://glfw.git.sourceforge.net/gitroot/glfw/glfw repository git://glfw.git.sourceforge.net/gitroot/glfw/glfw . - I created the
build folder and called cmake -G "MinGW Makefiles" .. from the inside and got glfw.dll , glfwdll.lib and libglfw.a . - Then I copied
glfw.dll to the project directory and renamed it to glfw3.dll .
But when I run my program, I get an error:
derelict.util.exception.SymbolLoadException@.. \import\derelict\util\exception.d(38): Failed to load symbol glfwSetErrorCallback from shared library glfw3.dll
Does anyone know how to configure Derelict3 ?
source share