tech-x11 archive

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

Re: lib Xft errors

On Wed, 27 Jun 2012, John R. Towler wrote:

> gcc -c -O2 -Wall -fno-strict-aliasing -pthread 
> -I/usr/local/src/pl-devel/src/../include -I/usr/X11R7/include 
> -I/usr/local/include -g -rdynamic -L/usr/X11R7/lib -L/usr/local/lib 
> -pthread -I. -I/usr/local/src/pl-devel/packages/xpce/src 
> -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 x11/xcommon.c -o 
> x11/xcommon.o
> In file included from x11/include.h:72:0,
>                  from x11/xcommon.c:28:
> /usr/X11R7/include/X11/Xft/Xft.h:60:19: error: expected '=', ',', ';', 'asm' 
> or '__attribute__' before '_XftFTlibrary'
> /usr/X11R7/include/X11/Xft/Xft.h:94:5: error: expected 
> specifier-qualifier-list before 'FT_UInt'

I am guessing you are missing the correct version of freetype.h. Maybe 
your include order causes the wrong version to be used.

Home | Main Index | Thread Index | Old Index