[poppler] 0.6: +glib -cairo does not compile

Stefan Schweizer genstef at gentoo.org
Wed Sep 5 02:15:23 PDT 2007


Hi,

I am using ./configure --disable-cairo-output --enable-poppler-glib. If this
is no longer possible it should be somehow shown in the configure output.

The compile error:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../poppler -DG_LOG_DOMAIN=\"Poppler\" -I.. -I../poppler -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -Wall -Wno-unused -g -O2 -MT
poppler-page.lo -MD -MP -MF .deps/poppler-page.Tpo -c
poppler-page.cc  -fPIC -DPIC -o .libs/poppler-page.o
poppler-page.cc: In function 'void
poppler_page_set_selection_alpha(PopplerPage*, double, GdkPixbuf*,
PopplerRectangle*)':
poppler-page.cc:623: error: cannot convert 'PopplerRectangle*'
to 'PopplerSelectionStyle' for argument '3' to 'GdkRegion*
poppler_page_get_selection_region(PopplerPage*, gdouble,
PopplerSelectionStyle, PopplerRectangle*)'
make[4]: *** [poppler-page.lo] Fehler 1
make[4]: Leaving directory `/tmp/poppler-0.6/glib'

Could you please fix this?

Best regards,
Stefan



More information about the poppler mailing list