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.
------------------ ???????? ------------------
??????: "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.