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

Carlos Garcia Campos carlosgc at gnome.org
Wed Sep 5 04:00:00 PDT 2007


El mié, 05-09-2007 a las 11:15 +0200, Stefan Schweizer escribió:
> 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.

Yes, it should be (at least at the moment)

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

Fixed in both head and 0.6 branch. Thanks for the report. 

> Best regards,
> Stefan
> 
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler

-- 
Carlos Garcia Campos
   elkalmail at yahoo.es
   carlosgc at gnome.org
   http://carlosgc.linups.org
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente
Url : http://lists.freedesktop.org/archives/poppler/attachments/20070905/93ede181/attachment.pgp 


More information about the poppler mailing list