If you really must use that particular version of gtkglext, my advice would be to carefully read through the release notes of that version. And note what versions of Pango and Gtk+ they require. Then build against *those* versions *and no later version*. For example if it says "Pango 1.2 or later", use 1.2 exactly, not a later version. I realise this is a very non-ideal situation, but unfortunately there are a lot of compatibility issues with gtk libraries :( J' On Sat, Dec 14, 2013 at 04:01:20PM +0800, 刘为 wrote: Perhaps you are right. I just want to use the gtkglext of version 1.0.6, but it doesn't provide the pre-compiled version. I have treid so many days to compile an install the gtkglext-1.0.6. At last, I give up. I have to use the pre-compiled version of 1.2.0 thought it's not I want. Thank you~~ ------------------ 原始邮件 ------------------ 发件人: "John Darrington";<john darrington wattle id au>; 发送时间: 2013年12月14日(星期六) 下午3:24 收件人: "刘为"<953720078 qq com>; 抄送: "gtkglext-list"<gtkglext-list gnome org>; 主题: Re: [GtkGLExt] help I am not sure, but I think this is because of version mismatches between GtkGlExt and other libraries. You need an older version of pango and gtk+ OR a newer version of GtkGlExt. o Or just use the pre-compiled version which comes with your operating system. J' On Sat, Dec 14, 2013 at 01:41:53PM +0800, 刘为 wrote: hi~ I am a student and now I am using the gtkglext in linux (Fedora), and I have some problems. So I Want to get some help from you, thank you very much ^_^ I download the source code gtkglext-1.0.6, as README tells, I compile and install it. Here is my command lines and results: # ./configure --prefix=/usr ... configuration: OpenGL CFLAGS: OpenGL LIBS: -lGLU -lGL multihead support: yes debug: minimum extra defs: # make ... # make install ... Till now,everything seems good (no error is proposed). But when I use the command line "make examples",there are some link errors: ../gdk/.libs/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_subfont_xlfd' ../gtk/.libs/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_REALIZED' ../gdk/.libs/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_map_for_display' ../gtk/.libs/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_TOPLEVEL' ../gdk/.libs/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_cache_unload' ../gdk/.libs/libgdkglext-x11-1.0.so: undefined reference to `pango_x_find_first_subfont' ../gdk/.libs/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_map_get_font_cache' ../gdk/.libs/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_cache_load' ../gtk/.libs/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_NO_WINDOW' collect2: error: ld returned 1 exit status When I compile the source code button.c, it's OK. But when I link it, there are errors: [root localhost examples]# gcc -c button.c `pkg-config --cflags gtkglext-1.0` [root localhost examples]# gcc -o button button.o -lm `pkg-config --libs gtkglext-1.0` /usr/local/lib/libgdkglext-x11-1.0.so:undefined reference to ‘pango_x_font_subfont_xlfd’ /usr/local/lib/libgtkglext-x11-1.0.so:undefined reference to ‘GTK_WIDGET_REALIZED’ /usr/local/lib/libgdkglext-x11-1.0.so:undefined reference to ‘pango_x_font_map_for_display’ /usr/local/lib/libgtkglext-x11-1.0.so:undefined reference to ‘GTK_WIDGET_TOPLEVEL’ /usr/local/lib/libgdkglext-x11-1.0.so:undefined reference to ‘pango_x_font_cache_unload’ /usr/local/lib/libgdkglext-x11-1.0.so:undefined reference to ‘pango_x_find_first_subfont’ /usr/local/lib/libgdkglext-x11-1.0.so:undefined reference to ‘pango_x_font_map_get_font_cache’ /usr/local/lib/libgdkglext-x11-1.0.so:undefined reference to ‘pango_x_font_cache_load’ /usr/local/lib/libgtkglext-x11-1.0.so:undefined reference to ‘GTK_WIDGET_NO_WINDOW’ I don't konw how to solve it, can you help me? THANK YOU~~ _______________________________________________ gtkglext-list mailing list gtkglext-list gnome org https://mail.gnome.org/mailman/listinfo/gtkglext-list -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key.
Attachment:
signature.asc
Description: Digital signature