On 25-05-2020 10:45, Joel Christensen wrote:

On a Windows machine I get this error, (it compiles alright):

Running .\jyblenew.exe

object.Exception@C:\Users\nev\AppData\Local\dub\packages\gtk-d-3.9.0\gtk-d\generated\gtkd\gtkd\Loader.d(125): Library load failed (libgdk-3-0.dll): The specified module could not be found.

I tried finding the dll file on the Internet, but couldn’t. Maybe a GtkD program would come with the dll.

I want to run gtkD programs off my flash drive, like other of my D programs - I have a dll's folder on there. I run a batch file to add it to %PATH%.

It should be able to find them if they are in the same directory as the
executable. Only GTK expects some things to be in ../share.

We could probably modify GtkD to also look in a sub directory like
./gtk/bin.