How to bundle a GtkD application for Windows

Jack jckj33 at gmail.com
Sun Nov 29 20:44:32 UTC 2020


On Sunday, 29 November 2020 at 20:08:33 UTC, adnan449 wrote:
> Hello, I would be greatly thankful if I was given an easy guide 
> on how to produce windows executables for GtkD applications. I 
> do not have an access to a windows machine but I need to be 
> able to produce installers/exe files for the windows users.
>
> Users should not have to install any dependency manually to be 
> able to install my program.
> Thank you.

To produce such executable on windows check out this[1]. To make 
a installer, you need to find the dll files that the executable 
depend on,I'm trying to do excactly this[2], in order to deploy 
an application without the user need to install the Gtk+ runtime. 
I believe just copying those dlls to application's folder will 
work. It seems for themes and stuff you need something more but 
I'm not there yet.

[1]: 
https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows
[2]: 
https://forum.dlang.org/post/vhmwtetoqtstgmlcvsga@forum.dlang.org


More information about the Digitalmars-d-learn mailing list