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?
On 7/12/07, Miklós Erdélyi <erdelyim@...400...> wrote:
Hi,
the cairo-based simple PDF import extension has been in trunk for a while (well, for a week or so :) ). Now I have committed a preliminary version of the native libpoppler-based one to trunk (you can activate it by uncommenting the line Internal::PdfInput::init() in src/extension/init.cpp). I did commit this unstable version because I need your help regarding a strange bug. When a PDF document is opened Inkscape crashes with segmentation fault, giving the following backtrace: #0 0xb6ebeb46 in malloc_usable_size () from /lib/tls/i686/cmov/libc.so.6 #1 0xb6ec0ecd in free () from /lib/tls/i686/cmov/libc.so.6 #2 0xb6ec283f in malloc () from /lib/tls/i686/cmov/libc.so.6 #3 0xb70844b7 in operator new () from /usr/lib/libstdc++.so.6 #4 0xb70845ed in operator new[] () from /usr/lib/libstdc++.so.6 #5 0xb71719d2 in PDFDoc::checkFooter (this=0xa6c5700) at PDFDoc.cc:248 #6 0xb7171e90 in PDFDoc::setup (this=0xa6c5700, ownerPassword=0x0, userPassword=0x0) at PDFDoc.cc:185 #7 0xb71721c5 in PDFDoc (this=0xa6c5700, fileNameA=0xa6c56c8, ownerPassword=0x0, userPassword=0x0, guiDataA=0x0) at PDFDoc.cc:102 #8 0x08594ec7 in Inkscape::Extension::Internal::PdfInput::open ( this=0x8857030, mod=0x8861350, uri=0xab497e4 "/home/shudo/tiger.pdf") at extension/internal/pdfinput/pdf-input.cpp:51
Please test whether the same thing happens on your system also (note: PDF import is not yet available on Windows) and tell us if you have any ideas regarding the solution to this problem which sets back the further development of the import extension.
Thank you, miklos
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel