discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep with Cairo backend problem


From: Chris Vetter
Subject: Re: GNUstep with Cairo backend problem
Date: Sun, 19 Feb 2006 13:12:41 +0100

Ok, here we go...

On 2006-02-18 14:42:12 +0100 Chris Vetter <chris.vetter@gmail.com> wrote:
I meant that whether you set --disable-glitz or not, back-cairo won't work (or to be more exact: I can't really say) because...

As a side node, I use a self-made script that iterates through all the core- directories, configures, compiles and installs all components. For backends, --disable-glitz is NOT used, only --enable-graphics and --with-name. However, it doesn't matter whether glitz is disabled or not, back-xlib and -art compile fine in both cases, -cairo stops.
See below.

... with back-cairo compilation will always fail due to an error message
 similar to
"you need to specify #include "FILENAME" or #include <FILENAME>"
when trying to include any freetype related headers.
I'll send a more detailed error message when I next update -back. Right now I'm not going to update because the latest changes to base in SVN will break GNUMail. I almost lost two years worth of mail to that, which I cannot afford.

  [...]
  Making all for subproject cairo...
  Compiling file CairoSurface.m ...
  CairoSurface.m:80: warning: '_OBJC_INSTANCE_0' defined but not used
  Compiling file CairoFontInfo.m ...
  In file included from ../../Headers/cairo/CairoFaceInfo.h:29,
                 from ../../Headers/cairo/CairoFontInfo.h:27,
                 from CairoFontInfo.m:25:
/usr/local/include/cairo/cairo-ft.h:48:10: error: #include expects "FILENAME" or <FILENAME>
  In file included from ../../Headers/cairo/CairoFaceInfo.h:29,
                 from ../../Headers/cairo/CairoFontInfo.h:27,
                 from CairoFontInfo.m:25:
/usr/local/include/cairo/cairo-ft.h:60: error: expected ')' before 'face' /usr/local/include/cairo/cairo-ft.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_ft_scaled_font_lock_face'
  CairoFontInfo.m: In function '_cairo_extents_for_NSGlyph':
CairoFontInfo.m:180: warning: implicit declaration of function 'cairo_scaled_font_text_extents'
  gmake[3]: *** [shared_obj/CairoFontInfo.o] Error 1
  gmake[2]: *** [cairo.all.subproject.variables] Error 2
  gmake[1]: *** [libgnustep-cairo-010.all.bundle.variables] Error 2
  gmake: *** [internal-all] Error 2

Line 48 of cairo-ft.h reads
  #include FT_FREETYPE_H

--
Chris






reply via email to

[Prev in Thread] Current Thread [Next in Thread]