[scribus] Build without PDF import

radar.map35 at free.fr radar.map35 at free.fr
Thu Oct 3 12:39:40 UTC 2013


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



More information about the scribus mailing list