Vedran Vucic wrote: > I am trying to compile ghemical software package that requires gtkglext. > > I got the following error and it seems to me that it is related to > gtkglext: > > project.o(.text+0xa15e): In function `project::Render(graphics_view*, > project::rmode)': > : undefined reference to `glutBitmap9By15' > views.o(.text+0x253): In function `ogl_view::GetGlutStringWidth(char > const*, void*)': > : undefined reference to `glutBitmapWidth' > main.o(.text+0x24d6): In function `main': > : undefined reference to `glutInit' It appears that your software uses Open Scene Graph, which has a dependency on the GLUT library. gtkglext doesn't depend on GLUT, so you clearly have configuration/link problems that are not related to gtkglext. > /usr/lib/libgdkglext-x11-1.0.so <http://x11-1.0.so>: undefined > reference to `pango_x_font_cache_load' > /usr/lib/libgdkglext-x11-1.0.so <http://x11-1.0.so>: undefined > reference to `pango_x_font_cache_unload' > /usr/lib/libgdkglext-x11-1.0.so <http://x11-1.0.so>: undefined > reference to `pango_x_find_first_subfont' > /usr/lib/libgdkglext- x11-1.0.so <http://x11-1.0.so>: undefined > reference to `pango_x_font_subfont_xlfd' > /usr/lib/libgdkglext-x11-1.0.so <http://x11-1.0.so>: undefined > reference to `pango_x_font_map_get_font_cache' > /usr/lib/libgdkglext- x11-1.0.so <http://x11-1.0.so>: undefined > reference to `pango_x_font_map_for_display'
In this case it looks like you need gtkglext 1.2.0 ... this release fixes problems compiling GtkGLExt against GTK+ >= 2.8, caused by the separate pangox library. Cheers, Tim _______________________________________________ gtkglext-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkglext-list
