fedora - What is required to compile a simple gtk D application -
i'm getting started in d , following examples on dsource.org
specifically one: http://www.dsource.org/projects/gtkd/wiki/codeexamples simple gtk program.
as using fedora installed gtkd
, gtkd-devel
using yum when come compile using dmd
following error:
gtkbasic.d(1): error: module mainwindow in file 'gtk/mainwindow.d' cannot read import path[0] = /usr/include/dmd/phobos import path[1] = /usr/include/dmd/druntime/import
you need pass path gtk
root folder -i
compiler option (same in c). pkg-config
should work, dmd $(pkg-config --cflags --libs gtkd2) gtkbasic.d
.
Comments
Post a Comment