Skip to contentSkip to conversation

poppler troubles

Printing-architecture William D. Colburn 1 participant 1 message Sep 28, 2015

lore
Share & tools
lore
#0 lore raw

I'm trying to compile the latest version of cups/cups-filters for rhel6. I'm compiling with gcc 5.2.0, and to get as far as I am, I have to edit the configure-generated makefile in cups-filters to change -std=gnu99 to -std=gnu11. After that, it all falls apart when it tries to use poppler. A couple of warnings about long long appear, and then this:

In file included from filter/pdftoopvp/oprs/OPRS.cxx:44:0:
filter/pdftoopvp/oprs/OPVPSplashXPath.h: In constructor 'OPVPSplashXPath::OPVPSplashXPath()':
filter/pdftoopvp/oprs/OPVPSplashXPath.h:33:21: error: no matching function for call to 'SplashXPath::SplashXPath()'

   OPVPSplashXPath() {};
                     ^

In file included from filter/pdftoopvp/oprs/OPVPSplashXPath.h:8:0,
from filter/pdftoopvp/oprs/OPRS.cxx:44:
/home/anotheruvula/cups-filters/target/include/poppler/splash/SplashXPath.h:84:3: note: candidate: SplashXPath::SplashXPath(SplashXPath*)
SplashXPath(SplashXPath *xPath);
^
/home/anotheruvula/cups-filters/target/include/poppler/splash/SplashXPath.h:84:3: note: candidate expects 1 argument, 0 provided

I'll attach my build script for cups/cups-filters. The gcc-5.2.0 comes from the PATH early on. Any insight or help would be greatly appreciated.

--Schlake