Derelict GLFW3 glfw3.dll error

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


On Friday, 27 November 2015 at 22:58:20 UTC, Alexander wrote:

> ERROR: 
> "derelict.util.exception.SharedLibLoadException at ..\..\AppData\Roaming\dub\packages\derelict-util-2.0.4\source\derelict\util\exception.d(35): Failed to load one or more shared libraries:
> 	glfw3.dll - The specified module could not be found."
>
> Is there a way for me to link the glfw.dll so that derelictUtil 
> can find the dll? Or am I going about this wrong?

No, none of the Derelict packages have a link-time dependency the 
libraries they bind. It's purely a runtime dependency. You need 
to make sure that the DLL is somewhere it can be found. GLFW3 is 
not a system library, so that generally means you need to make 
sure it is in the same directory as your executable.



More information about the Digitalmars-d-learn mailing list