On 27-05-2020 03:54, Joel Christensen wrote:

I still can't find the dll/dll's to execute my program. I tried looking in https://www.gtk.org/ site. I've got it going on macOS, but not Windows.

On Mon, 25 May 2020 23:06:27 GMT, Joel Christensen wrote:

On Mon, 25 May 2020 20:13:26 +0200, Mike Wey wrote:

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.

The executable is mine - is there a windows program I can install that has the dll in it?

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

GtkD supplies a installer for gtk: https://gtkd.org/download.html

GTK itself relies on third parties for the windows binaries, i think
vcpkg is the easiest to download the windows binaries:
https://www.gtk.org/docs/installations/windows/#using-gtk-from-vcpkg-packages