[GtkGLExt] gtkglext linking



hello,

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:

: undefined reference to `glutBitmap9By15'
project.o(.text+0xa15e): In function `project::Render(graphics_view*, project::rmode)':
: undefined reference to `glutBitmap9By15'
promake[3]: Leaving directory `/tmp/ghemical-2.10/src'
ject.o(.text+0xa28f): In function `project::Render(graphics_view*, project::rmode)':
: undefined reference to `glutBitmap9By15'
project.o(.text+0xa48d): more undefined references to `glutBitmap9By15' follow
views.o(.text+0x253): In function `ogl_view::GetGlutStringWidth(char const*, void*)':
: undefined reference to `glutBitmapWidth'
views.o(.text+0x273): In function `ogl_view::GetGlutStringWidth(char const*, void*)':
: undefined reference to `glutStrokeRoman'
views.o(.text+0x27c): In function `ogl_view::GetGlutStringWidth(char const*, void*)':
: undefined reference to `glutStrokeWidth'
views.o(.text+0x31d): In function `ogl_view::WriteGlutString3D(char const*, float, float, float, obj_loc_data const*, void*)':
: undefined reference to `glutBitmapCharacter'
views.o(.text+0x398): In function `ogl_view::WriteGlutString3D(char const*, float, float, float, obj_loc_data const*, void*)':
: undefined reference to `glutStrokeRoman'
views.o(.text+0x3a1): In function `ogl_view::WriteGlutString3D(char const*, float, float, float, obj_loc_data const*, void*)':
: undefined reference to `glutStrokeCharacter'
views.o(.text+0x3d44): In function `eld_view::Render()':
: undefined reference to `glutBitmapTimesRoman10'
views.o(.text+0x3ff5): In function `eld_view::Render()':
: undefined reference to `glutBitmapTimesRoman24'
views.o(.text+0x401a): In function `eld_view::Render()':
: undefined reference to `glutBitmapTimesRoman24'
views.o(.text+0x4055): In function `eld_view::Render()':
: undefined reference to `glutBitmapTimesRoman24'
views.o(.text+0x40e1): In function `eld_view::Render()':
: undefined reference to `glutBitmapTimesRoman24'
main.o(.text+0x24d6): In function `main':
: undefined reference to `glutInit'
/usr/lib/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_cache_load'
/usr/lib/libgdkglext-x11-1.0.so : undefined reference to `pango_x_font_cache_unload'
/usr/lib/libgdkglext-x11-1.0.so: undefined reference to `pango_x_find_first_subfont'
/usr/lib/libgdkglext- x11-1.0.so: undefined reference to `pango_x_font_subfont_xlfd'
/usr/lib/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_map_get_font_cache'
/usr/lib/libgdkglext- x11-1.0.so: undefined reference to `pango_x_font_map_for_display'
collect2: ld returned 1 exit status
make[3]: *** [ghemical] Error 1
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/ghemical- 2.10/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/ghemical-2.10/src'
make: *** [all-recursive] Error 1
Error: Make failed!


please advise.
Best wishes,


veki


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