[poppler] Build fail on Ubuntu 14.04

Alex Korobkin korobkin+pp at gmail.com
Thu Sep 15 20:22:21 UTC 2016


Hi all,

I'm trying to build poppler 0.47 on Ubuntu 14.04, and it fails with this
error:

poppler-document.cc: In function 'void
poppler_document_class_init(PopplerDocumentClass*)':
poppler-document.cc:1521:25: error: invalid conversion from 'int' to
'GParamFlags' [-fpermissive]
        G_PARAM_READWRITE));
                         ^
In file included from /usr/include/glib-2.0/glib-object.h:28:0,
                 from poppler.h:22,
                 from poppler-document.cc:41:
/usr/include/glib-2.0/gobject/gparamspecs.h:1085:13: error:   initializing
argument 5 of 'GParamSpec* g_param_spec_string(const gchar*, const gchar*,
const gchar*, const gchar*, GParamFlags)' [-fpermissive]
 GParamSpec* g_param_spec_string  (const gchar  *name,
             ^
poppler-document.cc:1573:25: error: invalid conversion from 'int' to
'GParamFlags' [-fpermissive]


Does it need a newer version of glib-2.0 since 0.47 release? Or am I
missing something other library or reference?

Longer output:
http://pastebin.com/wBdmL7GV

-- 
-Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20160915/d30a9339/attachment.html>


More information about the poppler mailing list