[Wine]Error compiling "`FT_ENCODING_NONE' undeclared"

saurian saurian at thelink.net
Thu Sep 16 17:53:03 CDT 2004


saurian wrote:

> Here is where it happened:
> 
> ---
> gcc -c -I. -I. -I../../include -I../../include -I/usr/include/freetype2 
> -D__WINESRC__ -D_GDI32_ -D_REENTRANT -fPIC -Wall -pipe 
> -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ 
> -Wpointer-arith  -g -O2 -o freetype.o freetype.c
> freetype.c: In function `get_glyph_index':
> freetype.c:2189: `FT_ENCODING_NONE' undeclared (first use in this function)
> freetype.c:2189: (Each undeclared identifier is reported only once
> freetype.c:2189: for each function it appears in.)
> make[2]: *** [freetype.o] Error 1
> make[2]: Leaving directory `/root/wine-20040914/dlls/gdi'
> make[1]: *** [gdi] Error 2
> make[1]: Leaving directory `/root/wine-20040914/dlls'
> make: *** [dlls] Error 2
> ---
> 
> Any ideas?
> 
> Info:
>  kernel
>  2.4.20-28.8 #1 Thu Dec 18 12:25:00 EST 2003 i686 athlon i386 GNU/Linux
>  glibc-2.3.2-4.80.8

I found that FT_ENCODING_NONE was ft_encoding_none (all in lower case)
on my distribution. That was the only reference to it in the wine code
so I changed it to lowercase and everything compiled.



More information about the wine-users mailing list