digitalmars.D.learn - [GtkD] linux shared library names
- Druzhinin Alexandr (8/8) Aug 07 2013 I built a linux app using GtkD, but when I run it it complains about it
- Mike Wey (7/15) Aug 07 2013 To use OpenGL with Gtk3 / GtkD 2.x you will need the Gtk3 port of
- Druzhinin Alexandr (14/27) Aug 07 2013 I've built them from the sources too, but the names are different as I
- Jordi Sayol (7/11) Aug 07 2013 Edit GtkD sources file:
- Mike Wey (5/14) Aug 10 2013 The older version of gtkglext won't work with Gtk+ 3.x and GtkD 2.x so
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.
Aug 07 2013
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. -- Mike Wey
Aug 07 2013
On 08.08.2013 03:45, Mike Wey wrote:On 08/07/2013 08:44 PM, Druzhinin Alexandr wrote: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 OpenGLI 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.
Aug 07 2013
On 07/08/13 20:44, 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.Edit GtkD sources file: src/gtkc/paths.d:127,128 Compile GtkD libraries and recompile your project. Regards, -- Jordi Sayol
Aug 07 2013
On 08/07/2013 09:08 PM, Jordi Sayol wrote:On 07/08/13 20:44, Druzhinin Alexandr wrote:The older version of gtkglext won't work with Gtk+ 3.x and GtkD 2.x so changing the required version in the source won't do you any good. -- Mike WeyI 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.Edit GtkD sources file: src/gtkc/paths.d:127,128 Compile GtkD libraries and recompile your project. Regards,
Aug 10 2013