Re: Cross compiling gtk+-2.2.0 for arm

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

 



Hi,

I'm recently working on cross mingw (xmingw) on Linux for Win32.
For ARM, it should be similar ... you will need to have the
following packages before you can compile gtk2 ...

libiconv
gettext
glib2
atk
cairo
freetype (optional)
fontconfig (optional)
jpeg-6b
libpng
tiff
zlib
pango
gtk2

You can check my unfinished page (maybe buggy page) at
http://www.linuxdaq-labs.org/projs/xmingw/

So far, I can compile my Gtk2 codes completely
under Linux and run on Win32.   Will update my
page soon after I did more test ...


Regards
KC


On 5/17/07, Naveen Kumar <naveen@xxxxxxxxxxxxxx> wrote:
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 :
[root@LocalHost gtk+-2.2.0]# export
PATH=$PATH:/usr/local/hybus-arm-linux-R1.1/bin/

[root@LocalHost 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 :

[root@LocalHost 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-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux