GtkD - how to install
DLang Beginner
repakolius at email.cz
Mon Dec 23 08:50:20 PST 2013
On Monday, 23 December 2013 at 16:20:24 UTC, Alexandr Druzhinin
wrote:
> 23.12.2013 22:52, DLang Beginner пишет:
>> On Monday, 23 December 2013 at 13:50:29 UTC, Alexandr
>> Druzhinin wrote:
>>> You shouldn't create your app inside gtkd structure. Try the
>>> following:
>>> cd
>>> mkdir test
>>> cd test
>>> dub init
>>> copy ~/Desktop/gtkd/source/app.d ./source/
>>> copy ~/Desktop/gtkd/package.json .
>>> dub
>>>
>>> and show what will happen
>>
>> Yeah, that worked! Application successfully compiled. But when
>> I try
>> start it, I'm getting another error because I don't have
>> libgdkglext-3.0
>> library.
>>
>> object.Exception at ../../.dub/packages/gtk-d-master/src/gtkc/Loader.d(127):
>> Library
>> load failed: libgdkglext-3.0.so.0
> Either build this libraries like me or try to change dependency
> in package.json:
> "gtk-d": "~master" => "gtk-d:gtkd": "~master"
> You get error because your app try to use opengl extention for
> gtk, but this extension isn't provided by default for gtk3. I
> solved this problem for me, but I spent much time and frankly
> can't remember my steps. But if you don't need opengl you can
> use only subpackage of gtkd as I write above.
OH YES! No, I don't need OpenGL, so I changed dependency and it
works fine! Thank you so much!
I <3 D and it's community. :)
More information about the Digitalmars-d-learn
mailing list