GtkD - how to install
Mike Wey
mike-wey at example.com
Sun Dec 22 11:27:16 PST 2013
On 12/22/2013 03:41 PM, Mike Parker wrote:
> 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.
I would recommend listing the subpackage as a dependency:
{
"dependencies": {
"gtk-d:gtkd": "~master"
}
}
--
Mike Wey
More information about the Digitalmars-d-learn
mailing list