Hi, FreeType is software font engine, which is used as backend for Pango..etc.. Build procedure is same as that of other libraries. Download the source, configure and build.
If it is searching for GLib etc..then you need to specify where you have kept these libraries built for target, through PKG_CONFIG_PATH, LD_LIBRARY_PATH, LDFLAGS etc.. Also Use PATH for binaries built for target. Something like this: PREFIX="/opt/toolchain/arm-linux/local" PATH="/bin:/opt/toolchain/bin:/opt/toolchain/arm-linux/local/bin:/usr/bin" LDFLAGS="-L/opt/toolchain/arm-linux/local/lib" You need Glib, ATK, Cairo, Pango, Freetype, GTK etc.. to build GTK. You may need Libpng or something else, depending upon what all libraries are present for your target. Following link will be quite helpful: http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB_for_Embedded _Systems Regards, Siddharth TATA Elxsi -----Original Message----- From: Naveen Kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 2:26 PM To: Kumar Siddharth Subject: Re: RE: Cross compiling gtk+-2.2.0 for arm Hi, Thank you .. Can you please tell me what is freetype2 and how to build it. Actually what came to mind is : while configuring it is searching glib-2.0 and some other libraries at /usr/local/bin, but it should find for the libraries which we built for arm. if that is the case what are the libraries i need to compile for arm and how to link those instead of x86 libraries. I think freetype2 is going have all these libraries if i am not wrong... Please help me to set cross environment .... Thanks and Regards, Naveen. Kumar Siddharth wrote: > > > >Hi, > >>>I got the message : >----------------------------------------------------------------------- >>>configure: error: pangoxft Pango backend found but did not find freetype >>>libraries >------------------------------------------------------------------------ > >You need to have Freetype libraries built for your target. Pango works with >Freetype2. If you have already built freetype for ARM, then you need to link >to those libraries. You may want to modify PKG_CONFIG_PATH for that purpose. >Otherwise, you have to cross-compile Freetype first. > >Regards, >Siddharth >TATA Elxsi > >------------ > >Now i dont know how should i proceed. >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Naveen Kumar >Sent: Thursday, May 17, 2007 11:30 AM >To: gtk-app-devel-list@gnome.org >Subject: Cross compiling gtk+-2.2.0 for arm > > >Hi all, > >I have tool chain to build gtk1.2 applications, but i need to compile >applications using gtk2, so i am trying to cross compile gtk2 for using the >tool chain i have. >The procedure i followed to cross compile gtk+-2.2.0.tarbz2 : >[EMAIL PROTECTED] gtk+-2.2.0]# export >PATH=$PATH:/usr/local/hybus-arm-linux-R1.1/bin/ > >[EMAIL PROTECTED] gtk+-2.2.0]# ./configure CC=arm-linux-gcc --host=arm-linux >--prefix=/opt/gtk2/ > >I got the message : >----------------------------------------------------------------------- >configure: WARNING: *** TIFF plug-in will not be built (TIFF library not >found) *** >configure: error: >*** Checks for TIFF loader failed. You can build without it by passing >*** --without-libtiff to configure but some programs using GTK+ may >*** not work properly >----------------------------------------------------------------------- > >So i tried like : > >[EMAIL PROTECTED] gtk+-2.2.0]# ./configure CC=arm-linux-gcc --host=arm-linux >--without-libtiff --prefix=/opt/gtk2/ > >I got the message : >----------------------------------------------------------------------- >configure: error: pangoxft Pango backend found but did not find freetype >libraries >------------------------------------------------------------------------ > >Now i dont know how should i proceed. > >Am I following the wrong way to cross compile gtk2 or missing out some steps >? >Please guide me how i can proceed or any different procedure to >cross-compile ... > >Thanks and Regards, >Naveen > > > >_______________________________________________ >gtk-app-devel-list mailing list >gtk-app-devel-list@gnome.org >http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list