[Mono-winforms-list] (FT_FREETYPE_H) libgdiplus 1.1.14-1.1.15 buildissues

James Renton jrenton at castel.com
Thu Apr 20 11:59:09 EDT 2006


I checked with rpm.  It came back with these packages installed:


I also found /usr/include/ft2build.h (oddly enough this is included
before the reference to FT_FREETYPE_H without issue).  Again, the build
is failing with what looks to be a version of cairo included with the

I downloaded freetype 2.1.10 from freetype.sourceforge.net.  Before
installing it I tried to uninstall the versions that come with RHEL3.
It spit back a page and a half of dependencies, ending that prospect.

I tried installing libgdiplus from an old rpm.  It needs cairo and
pixman.  I found cairo-1.0.4 @ cairographics.org.  I was able to build
and install it fine by itself.  But it is not the same interface as what
is needed by my old libgdiplus rpm.

For good measure, I replaced the version of cairo included in the
libgdiplus 1.1.14 source with the version I could build separately.  It
still chokes at the same point.  

I am going to revert to rpm.  Just thought I'd give you guys a heads up.

Beverly, MA

-----Original Message-----
From: Peter Dennis Bartok [mailto:peter at novonyx.com] 
Sent: Wednesday, April 19, 2006 7:37 PM
To: James Renton; mono-winforms-list at lists.ximian.com
Subject: Re: [Mono-winforms-list] (FT_FREETYPE_H) libgdiplus
1.1.14-1.1.15 buildissues

You need a working installation of freetype2. The symbol you're missing
defined by freetype. Do you have the freetype-devel package installed?
if you ft2build.h on your system (usually in /usr/include).


-----Original Message-----
From: "savatar" <jrenton at castel.com>
To: <mono-winforms-list at lists.ximian.com>
Date: 19 April, 2006 17:14
Subject: [Mono-winforms-list] (FT_FREETYPE_H) libgdiplus 1.1.14-1.1.15 

>I haven't been able to build either version of the latest versions of
>I keep getting the following error(s):
>make[2]: Entering directory
>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
>-I.. -I../cairo/pixman/src -I../cairo/pixman/src -I../cairo/src
>-I../cairo/src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>-Werror -Wno-unused -Wno-format    -g -O2 -pthread -MT 
>-MD -MP -MF ".deps/adjustablearrowcap.Tpo" -c -o adjustablearrowcap.lo
>adjustablearrowcap.c; \
>then mv -f ".deps/adjustablearrowcap.Tpo"
>else rm -f ".deps/adjustablearrowcap.Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cairo/pixman/src
>-I../cairo/pixman/src -I../cairo/src -I../cairo/src
>-I/usr/lib/glib-2.0/include -Wall -Werror -Wno-unused -Wno-format -g
>-pthread -MT adjustablearrowcap.lo -MD -MP -MF
>-c adjustablearrowcap.c  -fPIC -DPIC -o .libs/adjustablearrowcap.o
>In file included from ../cairo/src/cairo-ft.h:47,
>                 from gdip.h:38,
>                 from adjustablearrowcap.c:27:
>/usr/include/ft2build.h:55:38: freetype/config/ftheader.h: No such file
>In file included from gdip.h:38,
>                 from adjustablearrowcap.c:27:
>../cairo/src/cairo-ft.h:48:10: #include expects "FILENAME" or
>In file included from gdip.h:38,
>                 from adjustablearrowcap.c:27:
>../cairo/src/cairo-ft.h:60: syntax error before "face"
>../cairo/src/cairo-ft.h:64: syntax error before
>cc1: warnings being treated as errors
>../cairo/src/cairo-ft.h:64: warning: type defaults to `int' in
>of `cairo_ft_scaled_font_lock_face'
>../cairo/src/cairo-ft.h:64: warning: data definition has no type or
>adjustablearrowcap.c: In function `gdip_adjust_arrowcap_clone_cap':
>adjustablearrowcap.c:75: warning: implicit declaration of function
>make[2]: *** [adjustablearrowcap.lo] Error 1
>make[2]: Leaving directory `/home/jrenton/source/libgdiplus-1.1.14/src'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/jrenton/source/libgdiplus-1.1.14'
>make: *** [all] Error 2
>The first error occurs in caro-ft.h.  I tried making the source in the 
>directory to no avail.  Here is the line it chokes on:
>cairo/src/cairo-ft.h:48 #include FT_FREETYPE_H
>What is this symbol supposed to be defined as?
>Any suggestions anyone can offer would be greatly appreciated.
>View this message in context: 
>Sent from the Mono - WinForms forum at Nabble.com.
>Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com

More information about the Mono-winforms-list mailing list