On 05/04/2015 04:32 PM, Carlos Checo wrote:
On Sun, 03 May 2015 20:36:30 +0200, Mike Wey wrote:
On 05/02/2015 11:17 PM, Carlos Checo wrote:
Hi, I built the gtkD using make and make install. Are the file in 'demos' for testing gtkD if yes how do I compile it ?
I want to test this project with an empty Window.
Yes, the demos folder contains examples/tests for gtkD.
To compile for example the HelloWorld demo in demos/gtk/ run:
dmd HelloWorld.d `pkg-config --cflags --libs gtkd-3`
Thanks!, do you know how to do the same with GDC ?
GtkD has to be build with the compiler you are going to use for the
applications, so if the installed version is build with gdc then:
gdc HelloWorld.d `pkg-config --cflags --libs gtkd-3`
optionally set the output filename with "-o HelloWorld".