[scribus] Build without PDF import
Franz Schmid
Franz.Schmid at altmuehlnet.de
Thu Oct 3 13:58:59 UTC 2013
Am 03.10.2013 14:39, schrieb radar.map35 at free.fr:
> PDF import is giving me a build error. I'm looking a way to deactivate this part without uninstalling libpoppler and be able to test new functions that build well.
> any clues ?
>
> for info :
> [ 80%] Building CXX object scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o
> /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp: In member function ‘QImage PdfPlug::readThumbnail(QString)’:
> /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp:104:25: error: no matching function for call to ‘SplashOutputDev::startDoc(PDFDoc*&)’
> /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp:104:25: note: candidate is:
> In file included from /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp:24:0:
> /usr/include/poppler/SplashOutputDev.h:348:8: note: void SplashOutputDev::startDoc(XRef*)
> /usr/include/poppler/SplashOutputDev.h:348:8: note: no known conversion for argument 1 from ‘PDFDoc*’ to ‘XRef*’
> /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp: In member function ‘bool PdfPlug::convert(QString)’:
> /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp:795:43: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp:799:45: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp:808:48: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp:369:6: warning: unused variable ‘currentLayer’ [-Wunused-variable]
> /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp: In member function ‘QImage PdfPlug::readPreview(int, int, int, int)’:
> /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp:913:24: error: no matching function for call to ‘SplashOutputDev::startDoc(PDFDoc*&)’
> /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp:913:24: note: candidate is:
> In file included from /home/cedric/sources/scribus15/Scribus/scribus/plugins/import/pdf/importpdf.cpp:24:0:
> /usr/include/poppler/SplashOutputDev.h:348:8: note: void SplashOutputDev::startDoc(XRef*)
> /usr/include/poppler/SplashOutputDev.h:348:8: note: no known conversion for argument 1 from ‘PDFDoc*’ to ‘XRef*’
> make[2]: *** [scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o] Erreur 1
> make[1]: *** [scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/all] Erreur 2
> make: *** [all] Erreur 2
>
> pygmme
>
> ___
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/mailman/listinfo/scribus
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net
Please update your poppler library, your version is much too old.
You can easily build a newer one in /usr/local and this won't
harm you original installation in /usr
Greetings,
Franz Schmid
More information about the scribus
mailing list