GtkD - how to install

Mike Parker aldacron at gmail.com
Sun Dec 22 06:41:29 PST 2013


On 12/22/2013 11:15 PM, Amateur wrote:

>
> What have I to do next?
> I have installed Gtk+ libraries, dmd, dub and I ran too commands "dub
> init main" and "dub fetch --local gtk-d".

You need to add gtkd as a dependency to your project's package.json:

{	
	"dependencies": {
		"gtk-d": "~master"
	}
}

Also, when using dub to manage your project, you don't need to 'fetch'. 
As long as a library is listed as a dependency, dub will fetch it 
automatically.


More information about the Digitalmars-d-learn mailing list