RE: How to build a GTK+ develop environment in Win32 - Pls show m e some further examples



but I am not clear how to work with these tools. Can you show 
me some further 
examples?

The best way to set up a GTK+ development environment (IMO) is to do the
following:

1) Go to http://www.gimp.org/~tml/gimp/win32/downloads.html and download the
development and runtime packages for 
        - glib-2.2.1
        - pkg-config-0.14
        - gtk+-2.2.1
        - atk-1.0.3
        - pango-1.2.1
        - fontconfig-1.0.1
        - GNU libiconv
        - libintl-0.10.40-tml
        - gettext-dev-0.10.40
        - zlib [1][2]
        - libpng [1][2]
        - libjpeg [1]
        - libtiff [1]
        - freetype2 [1]

2) Extract ALL these to a common directory (as advised on the page something
like c:\top).  Note with libiconv, you will need to put the dll in the
c:\top\lib dir and the headers in c:\top\include.

3) Add to the path the bin directory and the lib directory (c:\top\bin and
c:\top\lib).

4) Download and install the Windows version of Xemacs here:
http://www.xemacs.org/

5) Download and install MinGW and MSYS from here:
http://www.mingw.org/download.shtml

Then you have a light shell which you can use pkg-config in, and Makefiles
and do most the things you would normally under a unix environment.

If you use glade, then you need to download libxml from here:
http://www.zlatkovic.com/projects/libxml/binaries.html (you will have to
manually put the include files in c:\top\include and the libraries in
c:\top\lib).  You need to create a .pc file for pkg-config and place it in
c:\top\lib\pkgconfig.

Then download libglade from here:
http://freshmeat.net/projects/libglade/?topic_id=58 and using the MSYS
environment, tar -zxvf the .tar.gz downloaded, then ./configure, make, make
install.  (you may have to check the libglade.pc file is correctly put into
c:\top\lib\pkgconfig so pkg-config will know about libglade).

[1] - not essential
[2] - recommended.

Regards,
Martyn



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