On 08/10/2013 05:46 PM, Russel Winder wrote:
I have built and installed GtkD from master/HEAD of a clone of the Git
repository. At least I hope it is successful!

A simple hello world in a label application is the trial. Sadly I get
pages and pages of linker errors. Is there a canonical command line to
build a single file applications that someone can tell me so I can try
it.

Thanks.


The linker probably can't find the GtkD library.

On linux if you used "make install" to install the GtkD libraries you could use pkg-config:

dmd $(pkg-config --cflags --libs gtkd-2) MyApp.d

On Windows you will need to list gtkd.lib on the commandline with it's relative or absolute path.

--
Mike Wey

Reply via email to