Anybody?
It looks like the crash is due to a poppler function prototype confusion. Is this gcc 4.7.1 related? Anybody familiar with the poppler-tqt call involved? Moreover -- how to fix it?
On 06/21/2012 11:43 PM, David C. Rankin wrote:
Tim, Darrell,
Both pre/post TQt3 namechange, I am experiencing tdegraphics build fails due to no matching function for call to 'PSOutputDev::PSOutputDev(const char*, XRef*, Catalog*, NULL, int, int, PSOutMode, int&, int&)'. Does this fall under the "still fixing stuff - wait another week and try again" realm of errors, or is this a separate issue we need to dig into?
The full error is:
[ 10%] Building CXX object kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o cd /build/src/build/kfile-plugins/dependencies/poppler-tqt && /usr/bin/c++ -Dpoppler_tqt_shared_EXPORTS -DHAVE_CONFIG_H -fpermissive -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/opt/tqt3/include -I/usr/include/tqt -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/kfile-plugins/dependencies/poppler-tqt -I/build/src/build -I/opt/trinity/include -I/opt/tqt3/include -I/usr/include/tqt -I/build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt -I/usr/include/poppler -o CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o -c /build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc /build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc: In member function 'bool Poppler::Document::print(const TQString&, TQValueList<int>, double, double, int, int, int)': /build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:323:167: error: no matching function for call to 'PSOutputDev::PSOutputDev(const char*, XRef*, Catalog*, NULL, int, int, PSOutMode, int&, int&)' /build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:323:167: note: candidates are: In file included from /build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:28:0: /usr/include/poppler/PSOutputDev.h:108:3: note: PSOutputDev::PSOutputDev(PSOutputFunc, void*, char*, PDFDoc*, int, int, PSOutMode, int, int, GBool, int, int, int, int, GBool, GBool, PSOutCustomCodeCbk, void*) /usr/include/poppler/PSOutputDev.h:108:3: note: no known conversion for argument 1 from 'const char*' to 'PSOutputFunc {aka void (*)(void*, const char*, int)}' /usr/include/poppler/PSOutputDev.h:95:3: note: PSOutputDev::PSOutputDev(const char*, PDFDoc*, char*, int, int, PSOutMode, int, int, GBool, int, int, int, int, GBool, GBool, PSOutCustomCodeCbk, void*) /usr/include/poppler/PSOutputDev.h:95:3: note: no known conversion for argument 2 from 'XRef*' to 'PDFDoc*' /usr/include/poppler/PSOutputDev.h:91:7: note: PSOutputDev::PSOutputDev(const PSOutputDev&) /usr/include/poppler/PSOutputDev.h:91:7: note: candidate expects 1 argument, 9 provided make[2]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2