GtkD on Windows: notes + question

mark mark at qtrac.eu
Sun Feb 9 13:28:59 UTC 2020


I found a much easier way to get GtkD working on windows than 
that described in 
https://gtkdcoding.com/2019/01/11/0000-introduction-to-gtkDcoding.html

1. I downloaded and installed the Gtk3 runtime (the link is on 
https://gtkdcoding.com/2019/01/11/0000-introduction-to-gtkDcoding.html)

2. I downloaded and unzipped the GtkD3 zip to C:\bin\GtkD3

3. Since I'd already installed LDC I just had to run:

     dub add-path C:\bin\GtkD3

Now I'm able to build and run on windows using dub. And again, I 
get static builds so have deployable .exes.

However, when I double-click a GtkD .exe it pops up a console 
window, then the GUI window, and the console window stays until I 
close the GUI.

Is there a way to avoid the console Window, at least for release 
builds?



More information about the Digitalmars-d-learn mailing list