Skip to content

"Library load failed (libgtk-3-0.dll;gtk-3-3.0.dll;gtk-3.dll): The specified module could not be found" while attempting to run on Windows #359

@Clouud9

Description

@Clouud9

For some reason beyond my knowledge, GTKD seems to be unable to find the GTK Runtime's DLLs on Windows. I've tried building from source as well, but the linker gives a large number of errors saying that there are undefined symbols. Frankly I'm at the end of my tether and I've been unable to find any explanation as to why this is happening, or any potential solution to this issue.

Error Output when running dub run (Installed just through dub):

object.Exception@C:\Users<name>\AppData\Local\dub\packages\gtk-d\3.11.0\gtk-d\generated\gtkd\gtkd\Loader.d(104): Library load failed (libgtk-3-0.dll;gtk-3-3.0.dll;gtk-3.dll): The specified module could not be found.

0x00007FF7652B522D in gtkd.Loader.Linker.loadLibrary at C:\Users<name>\AppData\Local\dub\packages\gtk-d\3.11.0\gtk-d\generated\gtkd\gtkd\Loader.d(106)
0x00007FF7652B4E6D in gtkd.Loader.Linker.getSymbol at C:\Users<name>\AppData\Local\dub\packages\gtk-d\3.11.0\gtk-d\generated\gtkd\gtkd\Loader.d(65)
0x00007FF765259777 in gtkd.Loader.Linker.link!(extern (C) GType function()) at C:\Users<name>\AppData\Local\dub\packages\gtk-d\3.11.0\gtk-d\generated\gtkd\gtkd\Loader.d(47)
0x00007FF76521E654 in gtk.c.functions._sharedStaticCtor_L38_C1 at C:\Users<name>\AppData\Local\dub\packages\gtk-d\3.11.0\gtk-d\generated\gtkd\gtk\c\functions.d(43)
0x00007FF765368B18 in rt_moduleCtor
0x00007FF765366419 in int rt.sections_elf_shared.DSO.opApply(scope int delegate(ref rt.sections_elf_shared.DSO))
0x00007FF7651CCBCC in rt_init
0x00007FF7651CD51C in void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).runAll()
0x00007FF7651CD22B in d_run_main2
0x00007FF7651CD4E6 in d_wrun_main
0x00007FF7651C1ED4 in app.wmain at C:\Users<name>\Base\Programs\ldc2-1.40.0-windows-x64\import\core\internal\entrypoint.d(32)
0x00007FF76551C89A in wmainCRTStartup
0x00007FFC13F5E8D7 in BaseThreadInitThunk
0x00007FFC1605FBCC in RtlUserThreadStart
Error Program exited with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions