freetype
[Top][All Lists]
Advanced

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

Re: [ft] Need help to compile application


From: Vinayak SWARUP
Subject: Re: [ft] Need help to compile application
Date: Tue, 10 May 2011 21:43:34 +0800

Hi,

I tried compiling the ft2demo and I am getting the following error:

Is there any specific version of libX11 library that is required for compilibg 
the ft2demo


/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
%make X11_PATH="/usr/X11R6"
../freetype2/builds/unix/libtool --mode=link gcc -lz -o 
/local_no_backup1/vinayaks/freetypefont/ft2demos-2.4.4/bin/ftdiff 
/local_no_backup1/vinayaks/freetypefont/ft2demos-2.4.4/obj/ftdiff.o 
/local_no_backup1/vinayaks/freetypefont/ft2demos-2.4.4/obj/common.o 
/local_no_backup1/vinayaks/freetypefont/ft2demos-2.4.4/obj/ftcommon.o 
/local_no_backup1/vinayaks/freetypefont/freetype2/objs/libfreetype.la  
/local_no_backup1/vinayaks/freetypefont/ft2demos-2.4.4/obj/graph.a 
-R/usr/X11R6/lib -L/usr/X11R6/lib -lX11 -lm
libtool: link: gcc -o 
/local_no_backup1/vinayaks/freetypefont/ft2demos-2.4.4/bin/.libs/ftdiff 
/local_no_backup1/vinayaks/freetypefont/ft2demos-2.4.4/obj/ftdiff.o 
/local_no_backup1/vinayaks/freetypefont/ft2demos-2.4.4/obj/common.o 
/local_no_backup1/vinayaks/freetypefont/ft2demos-2.4.4/obj/ftcommon.o  
/local_no_backup1/vinayaks/freetypefont/freetype2/objs/.libs/libfreetype.so -lz 
/local_no_backup1/vinayaks/freetypefont/ft2demos-2.4.4/obj/graph.a 
-L/usr/X11R6/lib -lX11 -lm -Wl,-rpath 
-Wl,/local_no_backup1/vinayaks/freetypefont/ffinstall/lib -Wl,-rpath 
-Wl,/usr/X11R6/lib
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for 
-lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for 
-lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


Thanks & Regards,
Vinayak 

-----Original Message-----
From: Werner LEMBERG [mailto:address@hidden 
Sent: Tuesday, May 10, 2011 2:11 PM
To: Vinayak SWARUP
Subject: Re: [ft] Need help to compile application


> I tried to lookup " FT_Get_Glyph_Bitmap" function reference in the
> freetype library at the location /usr/lib64/ using the following
> command, but I could not find this symbol:
>     nm /usr/lib64/libfreetype.a

Yep.  This function doesn't exist.  FreeType has
FT_Outline_Get_Bitmap and FT_Glyph_To_Bitmap.


    Werner


PS: Please don't reply privately but always to the list.



reply via email to

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