When GtkD is compiled with debug information, which is the default for dub.
linking executables results in the following warning:
> Warning 178: .LIB pagesize exceeds 512
after that optlink either hangs or terminates.
The GtkD library was compiled with the dmd -lib switch.
or dub build gtk-d:gtkd
The executable with the following command:
dmd HelloWorld.d -I..\..\src ..\..\gtkd.lib