digitalmars.D - How to compile helloworld.d from gtkd on arch linux
- Alaindevos (5/5) Oct 01 2020 Installing gtkd is piece of cake. Just make and make install of ,
- Mike Parker (7/13) Oct 01 2020 You'll probably want to use dub instead of calling dmd directly.
- Mike Wey (7/14) Oct 02 2020 You can use pkg-config to get the compiler flags needed:
- Alaindevos (5/18) Oct 02 2020 Indeed. I figured that out. Note the minus sign between gtkd and
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
Oct 01 2020
On Thursday, 1 October 2020 at 23:43:26 UTC, 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_exactlyYou'll probably want to use dub instead of calling dmd directly. I've never used gtkd, but if I were starting I'd go here: https://gtkdcoding.com/ The intro tutorials are at the bottom of the page. Also, this sort of question is better suited to the Learn forum: https://forum.dlang.org/group/learn
Oct 01 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_exactlyYou can use pkg-config to get the compiler flags needed: ``` dmd HelloWorld.d `pkg-config --cflags --libs gtkd-3` ``` -- Mike Wey
Oct 02 2020
On Friday, 2 October 2020 at 17:04:29 UTC, Mike Wey wrote:On 02-10-2020 01:43, Alaindevos wrote:Indeed. I figured that out. Note the minus sign between gtkd and 3 which is essential. Currently trying to install gtkd on Freebsd. Compilation worked fine.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_exactlyYou can use pkg-config to get the compiler flags needed: ``` dmd HelloWorld.d `pkg-config --cflags --libs gtkd-3` ```
Oct 02 2020