How to compile helloworld.d from gtkd on arch linux
Mike Wey
mike-wey at example.com
Fri Oct 2 17:04:29 UTC 2020
On 02-10-2020 01:43, Alaindevos wrote:
> Installing gtkd is piece of cake. Just make and make install of ,
> https://github.com/gtkd-developers/GtkD
> But how should i compile e.g.
> https://github.com/gtkd-developers/GtkD/blob/master/demos/gtk/HelloWorld.d
>
> dmd HelloWorld.d some_magic_stuff_goes_here_but_what_exactly
>
You can use pkg-config to get the compiler flags needed:
```
dmd HelloWorld.d `pkg-config --cflags --libs gtkd-3`
```
--
Mike Wey
More information about the Digitalmars-d
mailing list