
OK, I figured this out. By default poppler does not install all the headers. To force 0.59 to install its headers over the old ones, configure it thus:
./configure --prefix=/usr --enable-xpdf-headers
On 7/12/07, Miklós Erdélyi <erdelyim@...400...> wrote:
On 7/12/07, bulia byak <buliabyak@...400...> wrote:
It does not compile for me. I first tried with poppler 0.51 from dapper, then installed 0.59 from source, but this didn't help:
extension/internal/pdfinput/pdf-parser.cpp: In member function 'void PdfParser::parse(Object*, GBool)': extension/internal/pdfinput/pdf-parser.cpp:372: error: no matching function for call to 'Parser::Parser(XRef*&, Lexer*, int)' /usr/include/poppler/Parser.h:26: note: candidates are: Parser::Parser(XRef*, Lexer*) /usr/include/poppler/Parser.h:22: note: Parser::Parser(const Parser&)
Any ideas?
You have the includes of the older version set by pkg-config (eg. /usr/include). Check that Inkscape really uses the include files from 0.59 (which might reside in /usr/local/include). I also use the 0.59 src tarball and the constructor of the class Parser takes 3 arguments.
miklos