A little update: I've succesfully compiled gtkD and I now have a gtkD.lib. I've copied it to the lib folder where dmd was installed. now I try to compile my first example without eclipse to start with. I use dmd -IC:\D\gtkD\src -L C:\D\gtkD\src\build\gtkD.lib main.d and I get as output
OPTLINK (R) for Win32 Release 8.00.12 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html main.obj(main) Error 42: Symbol Undefined _D3gtk4Main12__ModuleInfoZ main.obj(main) Error 42: Symbol Undefined _D3gtk5Label12__ModuleInfoZ main.obj(main) Error 42: Symbol Undefined _D3gtk10MainWindow12__ModuleInfoZ main.obj(main) Error 42: Symbol Undefined _D3gtk10MainWindow10MainWindow5_ctorMFAaZC3gtk10MainWindow10MainWindow main.obj(main) Error 42: Symbol Undefined _D3gtk4Main4Main4initFAAaZv main.obj(main) Error 42: Symbol Undefined _D3gtk5Label5Label5_ctorMFAabZC3gtk5Label5Label main.obj(main) Error 42: Symbol Undefined _D3gtk4Main4Main3runFZv main.obj(main) Error 42: Symbol Undefined _D3gtk10MainWindow10MainWindow7__ClassZ main.obj(main) Error 42: Symbol Undefined _D3gtk5Label5Label7__ClassZ --- errorlevel 9