[GtkGLExt] help



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~~


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]