[poppler] poppler-document.cc:123: error: 'struct
_PopplerDocument' has no member named ' output_dev'
Kristian Høgsberg
krh at bitplanet.net
Sat Jul 9 03:01:41 EST 2005
Jeremy C. Reed wrote:
> Building poppler with gcc 3.3.5 under PkgLinux (pkgsrc-based Linux)
> fails when --disable-splash-output and --disable-cairo-output is used:
>
> g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I/usr/include/gtk-2.0
> -I/usr/include/glib/glib-2.0
> -I/tmp/pkgsrc/wip/poppler/work.montecristo/.buildlink/lib/glib-2.0/include
> -I/usr/include/freetype2 -DDATADIR=\"/usr/share\"
> -I/tmp/pkgsrc/wip/poppler/work.montecristo/.buildlink/include -Wall
> -Wno-unused -g -s -MT poppler-document.lo -MD -MP -MF
> .deps/poppler-document.Tpo -c poppler-document.cc -fPIC -DPIC -o
> .libs/poppler-document.o
> poppler-document.cc: In function `PopplerDocument*
> poppler_document_new_from_file(const char*, const char*, GError**)':
> poppler-document.cc:123: error: 'struct _PopplerDocument' has no member
> named '
> output_dev'
> poppler-document.cc: In function `void
> poppler_document_finalize(GObject*)':
> poppler-document.cc:153: error: 'struct _PopplerDocument' has no member
> named '
> output_dev'
> make[3]: *** [poppler-document.lo] Error 1
> make[3]: Leaving directory
> `/tmp/pkgsrc/wip/poppler/work.montecristo/poppler-0.3.3/glib'
>
>
> Have look at poppler-0.3.3/glib/poppler-private.h and see that
> output_dev is not defined.
>
> Where is cairo support documented? Where is Splash support documented?
> What are they for and when are they needed? I disabled both since I
> didn't think I needed them.
Cairo and splash are the two rendering backends poppler can use. You
have to pick one of them.
Kristian
More information about the poppler
mailing list