diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2011-03-11 12:36:33 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2011-03-11 12:36:33 +0800 |
commit | e72bdca1b85440a3b34a82f8d58f394769ff632f (patch) | |
tree | 573704369377f738d21e62f022ef9d5c3ac47e8e /README.win32 | |
parent | 0c37c88147433202eec8e61d6c251c98f1ed2e0a (diff) | |
download | gtk+-e72bdca1b85440a3b34a82f8d58f394769ff632f.tar.gz |
Update README.win32
Make the information in that files more up-to-date
Diffstat (limited to 'README.win32')
-rw-r--r-- | README.win32 | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/README.win32 b/README.win32 index fbbd691f92..6c08174cc3 100644 --- a/README.win32 +++ b/README.win32 @@ -7,9 +7,18 @@ Building GTK+ on Win32 ======================
First you obviously need developer packages for the compile-time
-dependencies: Pango, atk, glib, gettext-runtime, libiconv, libpng,
-zlib, libtiff at least. See
-http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies .
+dependencies: GDK-Pixbuf, Pango, atk, glib, gettext-runtime, libiconv at least.
+See http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies .
+
+For people compiling GTK+ with Visual C++ 2005 or later, it is
+recommended that the same compiler is used for at least GDK-Pixbuf,
+Pango, atk and glib so that crashes and errors caused by different CRTs
+can be avoided. The VS 2008 project files and/or VS Makefiles are
+either already available or will be available in the next stable release.
+Unfortunately compiling with Microsoft's compilers versions 2003 or earlier
+is not supported as compiling the latest stable GLib (which *is* required for
+building this GTK+ release) requires features from newer compilers
+and/or Platform SDKs
After installing the dependencies, there are two ways to build GTK+
for win32.
@@ -147,11 +156,17 @@ Use the Microsoft compiler, cl and Make, nmake. Say nmake -f makefile.msc in gdk and gtk. Be prepared to manually edit various
makefile.msc files, and the makefile snippets in build/win32.
+There are also VS 2008 solution and project files to build GTK+, which
+are maintained by Chun-wei Fan. They should build GTK+ out of the box,
+provided that the afore-mentioned dependencies are installed. They will
+build GDK with the Win32 backend, GTK+ itself and the gtk-demo program.
+(The GAIL and GAIL-util sources are not built by this method yet)
+
Alternative 1 also generates Microsoft import libraries (.lib), if you
have lib.exe available. It might also work for cross-compilation from
Unix.
-I use method 1 myself. Hans Breuer has been taking care of the MSVC
+I (Tor) use method 1 myself. Hans Breuer has been taking care of the MSVC
makefiles. At times, we disagree a bit about various issues, and for
instance the makefile.msc files might not produce identically named
DLLs and import libraries as the "autoconfiscated" makefiles and
@@ -182,3 +197,4 @@ sources. Unfortunately it seems that only Wacom tablets come with support for the Wintab API nowadays.
--Tor Lillqvist <tml@iki.fi>, <tml@novell.com>
+--Updated by Fan, Chun-wei <fanc999@yahoo.com.tw>
|