GTK+ build error



Hello GTK users,

I am having trouble building GTK+ and it looks like it is having problems with Pango/Cairo:

gtkpango.c:78: warning: implicit declaration of function 'pango_cairo_show_glyph_item'
gtkpango.c: In function 'gtk_fill_layout_renderer_draw_shape':
gtkpango.c:158: error: 'PangoCairoShapeRendererFunc' undeclared (first use in this function)
gtkpango.c:158: error: (Each undeclared identifier is reported only once
gtkpango.c:158: error: for each function it appears in.)
gtkpango.c:158: error: expected ';' before 'shape_renderer'
gtkpango.c:166: error: 'shape_renderer' undeclared (first use in this function)
gtkpango.c:166: warning: implicit declaration of function 'pango_cairo_context_get_shape_renderer'
gtkpango.c:176: warning: implicit declaration of function 'shape_renderer'

However, I have set the PKG_CONFIG_PATH for py2cairo, cairo and pango:

[root@head00 gtk+-3.0.12]# echo $PKG_CONFIG_PATH
/gpfs/grace/pixman-0.24.2/lib/pkgconfig:/gpfs/grace/cairo-1.10.2/lib/pkgconfig:/gpfs/grace/gdk-pixbuf-2.24.1/lib/pkgconfig:/gpfs/grace/pango-1.29.5/lib/pkgconfig:/gpfs/grace/atk-2.2.0/lib/pkgconfig:/gpfs/grace/pygobject-2.26.0/lib/pkgconfig:/gpfs/grace/py2cairo-1.10.0/lib/pkgconfig:/gpfs/grace/glib-2.31.2/lib/pkgconfig:/gpfs/grace/libffi-3.0.9/lib/pkgconfig

Any help will be greatly appreciated.

Regards,

----------
Wadud Miah, High Performance Computing Systems Developer
Research Computing Services, University of East Anglia
Web: http://www.uea.ac.uk/~xca10fju/
Telephone: 01603 593856

Information Services
----------




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