
Hi,
rev. 16819 introduced the following compile errors (at least for me):
==> extension/internal/cairo-render-context.cpp: In member function ‘bool Inkscape::Extension::Internal::CairoRenderContext::setupSurface(double, double)’: extension/internal/cairo-render-context.cpp:697: error: ‘cairo_ps_level_t’ was not declared in this scope extension/internal/cairo-render-context.cpp:697: error: ‘cairo_ps_surface_restrict_to_level’ was not declared in this scope <==
Is there some additional file missing in SVN or is it just something with my setup? I thought that maybe things need to be reconfigured but running ./configure before compiling didn't help. In case it matters, I'm on Debian unstable.
Thanks, Max

On Wed, 26 Dec 2007 12:09:37 +0100, Maximilian Albert wrote:
Hi,
rev. 16819 introduced the following compile errors (at least for me):
==> extension/internal/cairo-render-context.cpp: In member function 'bool Inkscape::Extension::Internal::CairoRenderContext::setupSurface(double, double)': extension/internal/cairo-render-context.cpp:697: error: 'cairo_ps_level_t' was not declared in this scope extension/internal/cairo-render-context.cpp:697: error: 'cairo_ps_surface_restrict_to_level' was not declared in this scope <==
Is there some additional file missing in SVN or is it just something with my setup? I thought that maybe things need to be reconfigured but running ./configure before compiling didn't help. In case it matters, I'm on Debian unstable.
I'm seeing this as well on Gentoo Linux ~x86. Installed cairo is x11-libs/cairo-1.4.12. There was a similar error in the pdf renderer a month or two ago, pertaining to the use of a nonpublic cairo header file, I believe. This header file is often not packaged with cairo on various distros. Has a recent commit has regressed to relying on that internal header?

should be fixed now. something like:
#if (CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 2)) "<item value='PS2'>" N_("PostScript level 2") "</item>\n" #endif
does the job.
Adib. --- Maximilian Albert schrieb:
Hi,
rev. 16819 introduced the following compile errors (at least for me):
==> extension/internal/cairo-render-context.cpp: In member function ‘bool Inkscape::Extension::Internal::CairoRenderContext::setupSurface(double, double)’: extension/internal/cairo-render-context.cpp:697: error: ‘cairo_ps_level_t’ was not declared in this scope extension/internal/cairo-render-context.cpp:697: error: ‘cairo_ps_surface_restrict_to_level’ was not declared in this scope <==
Is there some additional file missing in SVN or is it just something with my setup? I thought that maybe things need to be reconfigured but running ./configure before compiling didn't help. In case it matters, I'm on Debian unstable.
Thanks, Max
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (3)
-
Jeff Kowalczyk
-
Maximilian Albert
-
theAdib