[GtkD] linux shared library names
Druzhinin Alexandr
news at digitalmars.com
Wed Aug 7 14:13:24 PDT 2013
On 08.08.2013 03:45, Mike Wey wrote:
> On 08/07/2013 08:44 PM, Druzhinin Alexandr wrote:
>> I built a linux app using GtkD, but when I run it it complains about it
>> cannot find libgtkglext-3.0.so.0 and libgdkglext-3.0.so.0. My box
>> (ubuntu 12.04 TLS) has gtkglext libs installed already but the libs has
>> different names - libgtkglext-x11-1.0.so.0 and libgdkglext-x11-1.0.so.0.
>> I did soft links to these libs then application started running and just
>> crushed anyway.
>> Are names of libs used by GtkD correct? I google these names and find
>> them in GtkD repository only. Nowhere else.
>
> To use OpenGL with Gtk3 / GtkD 2.x you will need the Gtk3 port of
> gtkglext, which can be found here: https://github.com/tdz/gtkglext
>
> I don't know if there are any prebuild binaries available for Ubuntu, so
> you may need to build it yourself.
>
I've built them from the sources too, but the names are different as I
said and if I just rename them my app fails as I described above. The
log is like:
(workstation-x86_64:8863): GLib-GObject-WARNING **: cannot register
existing type `GdkDisplay'
(workstation-x86_64:8863): GLib-CRITICAL **: g_once_init_leave:
assertion `result != 0' failed
(workstation-x86_64:8863): Gdk-CRITICAL **:
IA__gdk_x11_display_get_xdisplay: assertion `GDK_IS_DISPLAY (display)'
failed
(workstation-x86_64:8863): GdkGLExt-WARNING **: Window system doesn't
support OpenGL.
But of course my box support OpenGL
More information about the Digitalmars-d-learn
mailing list