[scribus-dev] problems with 1.5.x

Gregory Pittman gpittman at iglou.com
Wed Oct 24 23:51:29 UTC 2018


I'm getting a long list if issues trying to build 1.5.x:

[ 80%] Building CXX object
scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:
In member function ‘bool PdfPlug::convert(const QString&)’:
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:517:41:
error: no matching function for call to ‘Array::get(int&)’
          Object orderItem = order->get(i);
                                         ^
In file included from /usr/include/poppler/Object.h:300:0,
                 from /usr/include/poppler/OptionalContent.h:20,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:23:
/usr/include/poppler/Array.h:68:11: note: candidate: Object*
Array::get(int, Object*, int)
   Object *get(int i, Object *obj, int resursion = 0);
           ^~~
/usr/include/poppler/Array.h:68:11: note:   candidate expects 3
arguments, 1 provided
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:520:38:
error: no matching function for call to ‘Array::getNF(int&)’
           Object ref = order->getNF(i);
                                      ^
In file included from /usr/include/poppler/Object.h:300:0,
                 from /usr/include/poppler/OptionalContent.h:20,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:23:
/usr/include/poppler/Array.h:69:11: note: candidate: Object*
Array::getNF(int, Object*)
   Object *getNF(int i, Object *obj);
           ^~~~~
/usr/include/poppler/Array.h:69:11: note:   candidate expects 2
arguments, 1 provided
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:626:40:
error: no matching function for call to ‘PDFDoc::getDocInfo()’
       Object info = pdfDoc->getDocInfo();
                                        ^
In file included from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/slaoutput.h:39:0,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:33:
/usr/include/poppler/PDFDoc.h:232:11: note: candidate: Object*
PDFDoc::getDocInfo(Object*)
   Object *getDocInfo(Object *obj) { return xref->getDocInfo(obj); }
           ^~~~~~~~~~
/usr/include/poppler/PDFDoc.h:232:11: note:   candidate expects 1
argument, 0 provided
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:631:46:
error: no matching function for call to ‘Dict::lookup(char*)’
        obj = infoDict->lookup((char*) "Title");
                                              ^
In file included from /usr/include/poppler/Object.h:321:0,
                 from /usr/include/poppler/OptionalContent.h:20,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:23:
/usr/include/poppler/Dict.h:79:11: note: candidate: Object*
Dict::lookup(const char*, Object*, int)
   Object *lookup(const char *key, Object *obj, int recursion = 0);
           ^~~~~~
/usr/include/poppler/Dict.h:79:11: note:   candidate expects 3
arguments, 1 provided
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:636:47:
error: no matching function for call to ‘Dict::lookup(char*)’
        obj = infoDict->lookup((char*) "Author");
                                               ^
In file included from /usr/include/poppler/Object.h:321:0,
                 from /usr/include/poppler/OptionalContent.h:20,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:23:
/usr/include/poppler/Dict.h:79:11: note: candidate: Object*
Dict::lookup(const char*, Object*, int)
   Object *lookup(const char *key, Object *obj, int recursion = 0);
           ^~~~~~
/usr/include/poppler/Dict.h:79:11: note:   candidate expects 3
arguments, 1 provided
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:641:48:
error: no matching function for call to ‘Dict::lookup(char*)’
        obj = infoDict->lookup((char*) "Subject");
                                                ^
In file included from /usr/include/poppler/Object.h:321:0,
                 from /usr/include/poppler/OptionalContent.h:20,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:23:
/usr/include/poppler/Dict.h:79:11: note: candidate: Object*
Dict::lookup(const char*, Object*, int)
   Object *lookup(const char *key, Object *obj, int recursion = 0);
           ^~~~~~
/usr/include/poppler/Dict.h:79:11: note:   candidate expects 3
arguments, 1 provided
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:646:49:
error: no matching function for call to ‘Dict::lookup(char*)’
        obj = infoDict->lookup((char*) "Keywords");
                                                 ^
In file included from /usr/include/poppler/Object.h:321:0,
                 from /usr/include/poppler/OptionalContent.h:20,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:23:
/usr/include/poppler/Dict.h:79:11: note: candidate: Object*
Dict::lookup(const char*, Object*, int)
   Object *lookup(const char *key, Object *obj, int recursion = 0);
           ^~~~~~
/usr/include/poppler/Dict.h:79:11: note:   candidate expects 3
arguments, 1 provided
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:772:53:
error: no matching function for call to ‘Page::getTrans()’
        Object trans = pdfDoc->getPage(pp)->getTrans();
                                                     ^
In file included from /usr/include/poppler/PDFDoc.h:51:0,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/slaoutput.h:39,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:33:
/usr/include/poppler/Page.h:203:11: note: candidate: Object*
Page::getTrans(Object*)
   Object *getTrans(Object *obj) { return trans.fetch(xref, obj); }
           ^~~~~~~~
/usr/include/poppler/Page.h:203:11: note:   candidate expects 1
argument, 0 provided
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:824:55:
error: no matching function for call to ‘XRef::getCatalog()’
        Object catDict = pdfDoc->getXRef()->getCatalog();
                                                       ^
In file included from /usr/include/poppler/PDFDoc.h:49:0,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/slaoutput.h:39,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:33:
/usr/include/poppler/XRef.h:144:11: note: candidate: Object*
XRef::getCatalog(Object*)
   Object *getCatalog(Object *obj);
           ^~~~~~~~~~
/usr/include/poppler/XRef.h:144:11: note:   candidate expects 1
argument, 0 provided
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:827:50:
error: no matching function for call to ‘Object::dictLookup(const char [6])’
         Object names = catDict.dictLookup("Names");
                                                  ^
In file included from /usr/include/poppler/OptionalContent.h:20:0,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:23:
/usr/include/poppler/Object.h:341:16: note: candidate: Object*
Object::dictLookup(const char*, Object*, int)
 inline Object *Object::dictLookup(const char *key, Object *obj, int
recursion)
                ^~~~~~
/usr/include/poppler/Object.h:341:16: note:   candidate expects 3
arguments, 1 provided
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:830:52:
error: no matching function for call to ‘Object::dictLookup(const char
[11])’
          Object obj = names.dictLookup("JavaScript");
                                                    ^
In file included from /usr/include/poppler/OptionalContent.h:20:0,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:23:
/usr/include/poppler/Object.h:341:16: note: candidate: Object*
Object::dictLookup(const char*, Object*, int)
 inline Object *Object::dictLookup(const char *key, Object *obj, int
recursion)
                ^~~~~~
/usr/include/poppler/Object.h:341:16: note:   candidate expects 3
arguments, 1 provided
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:837:48:
error: no matching function for call to ‘Object::dictLookup(const char
[11])’
         names = catDict.dictLookup("OpenAction");
                                                ^
In file included from /usr/include/poppler/OptionalContent.h:20:0,
                 from
/home/gregp/development/Scribus15x/scribus/plugins/import/pdf/importpdf.cpp:23:
/usr/include/poppler/Object.h:341:16: note: candidate: Object*
Object::dictLookup(const char*, Object*, int)
 inline Object *Object::dictLookup(const char *key, Object *obj, int
recursion)
                ^~~~~~
/usr/include/poppler/Object.h:341:16: note:   candidate expects 3
arguments, 1 provided
make[2]: ***
[scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/build.make:78:
scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1891:
scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Greg



More information about the scribus-dev mailing list