
Joshua,
thanks! I used the --enable-poppler-cairo=no configure option and Inkscape compiled just fine.
-Mason
On Tue, Nov 13, 2007 at 04:45:59PM -0600, Joshua Facemyer / Impressus Art wrote:
Mason,
It's a problem with the use of a private header file in poppler instead of the public API for GTK. Unfortunately, with recent builds it breaks on systems that don't have the private header installed, but the header is not meant for install by the poppler devs.
One way to temporarily get around it is to copy the header file (which you can find in the poppler tarball) to the correct location (depends on your system). However, I think the long term solution is rather complicated, since (I've been told) use of the poppler API does not allow for functionality that is advanced enough for the Inkscape usage.
You can follow the recent thread here:
http://sourceforge.net/mailarchive/forum.php?thread_name=pan.2007.10.16.15.2...
JF
Mason Thomas wrote:
Thanks to whomever fixed the 2geom errors--I can now get past that in revision 16487.
However...now I get an error compiling pdf-input.cpp (from extension/internal/pdfinput/pdf-input.cpp):
In file included from extension/internal/pdfinput/pdf-input.cpp:26: extension/internal/pdfinput/pdf-input.h:40:28: CairoOutputDev.h: No such file or directory In file included from extension/internal/pdfinput/pdf-input.cpp:26: extension/internal/pdfinput/pdf-input.h:107: error: ISO C++ forbids declaration of `CairoOutputDev' with no type extension/internal/pdfinput/pdf-input.h:107: error: expected `;' before '*' token extension/internal/pdfinput/pdf-input.cpp: In constructor `Inkscape::Extension::Internal::PdfImportDialog::PdfImportDialog(PDFDoc*)': extension/internal/pdfinput/pdf-input.cpp:279: error: `_preview_output_dev' was not declared in this scope extension/internal/pdfinput/pdf-input.cpp:279: error: `CairoOutputDev' has not been declared extension/internal/pdfinput/pdf-input.cpp: In destructor `virtual Inkscape::Extension::Internal::PdfImportDialog::~PdfImportDialog()': extension/internal/pdfinput/pdf-input.cpp:301: error: `_preview_output_dev' was not declared in this scope extension/internal/pdfinput/pdf-input.cpp:302: error: type `<type error>' argument given to `delete', expected pointer extension/internal/pdfinput/pdf-input.cpp: In member function `void Inkscape::Extension::Internal::PdfImportDialog::_setPreviewPage(int)': extension/internal/pdfinput/pdf-input.cpp:544: error: `_preview_output_dev' was not declared in this scope
Thanks again for any help,
-Mason
This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel