[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


Hmm...

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

freetype-2.1.4-4.0
freetype-devel-2.1.4-4.0

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
source.

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.

-James
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
is 
defined by freetype. Do you have the freetype-devel package installed?
Check 
if you ft2build.h on your system (usually in /usr/include).

Cheers,
 Peter

-----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 
buildissues


>
>I haven't been able to build either version of the latest versions of
>libgdiplus.
>
>I keep getting the following error(s):
>
>make[2]: Entering directory
`/home/jrenton/source/libgdiplus-1.1.14/src'
>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-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
-Wall
>-Werror -Wno-unused -Wno-format    -g -O2 -pthread -MT 
>adjustablearrowcap.lo
>-MD -MP -MF ".deps/adjustablearrowcap.Tpo" -c -o adjustablearrowcap.lo
>adjustablearrowcap.c; \
>then mv -f ".deps/adjustablearrowcap.Tpo"
".deps/adjustablearrowcap.Plo";
>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/include/glib-2.0
>-I/usr/lib/glib-2.0/include -Wall -Werror -Wno-unused -Wno-format -g
-O2
>-pthread -MT adjustablearrowcap.lo -MD -MP -MF
.deps/adjustablearrowcap.Tpo
>-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
or
>directory
>In file included from gdip.h:38,
>                 from adjustablearrowcap.c:27:
>../cairo/src/cairo-ft.h:48:10: #include expects "FILENAME" or
<FILENAME>
>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
>"cairo_ft_scaled_font_lock_face"
>cc1: warnings being treated as errors
>../cairo/src/cairo-ft.h:64: warning: type defaults to `int' in
declaration
>of `cairo_ft_scaled_font_lock_face'
>../cairo/src/cairo-ft.h:64: warning: data definition has no type or
storage
>class
>adjustablearrowcap.c: In function `gdip_adjust_arrowcap_clone_cap':
>adjustablearrowcap.c:75: warning: implicit declaration of function
`memcpy'
>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 
>cairo
>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.
>
>-James
>
>--
>View this message in context: 
>http://www.nabble.com/%28FT_FREETYPE_H%29-libgdiplus-1.1.14-1.1.15-buil
d-issues-t1477399.html#a3998043
>Sent from the Mono - WinForms forum at Nabble.com.
>
>_______________________________________________
>Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
> 



More information about the Mono-winforms-list mailing list