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

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -