]> Pileus Git - ~andy/gtk/blobdiff - README.win32
stylecontext: Do invalidation on first resize container
[~andy/gtk] / README.win32
index fbbd691f925015e26af0ba4063d1fbe8fee38a1c..42ca66f26331486fb46829105f7aa68af3165db7 100644 (file)
@@ -7,9 +7,18 @@ Building GTK+ on Win32
 ======================\r
 \r
 First you obviously need developer packages for the compile-time\r
-dependencies: Pango, atk, glib, gettext-runtime, libiconv, libpng,\r
-zlib, libtiff at least. See\r
-http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies .\r
+dependencies: GDK-Pixbuf, Pango, atk, glib, gettext-runtime, libiconv at least.\r
+See http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies .\r
+\r
+For people compiling GTK+ with Visual C++ 2005 or later, it is\r
+recommended that the same compiler is used for at least GDK-Pixbuf,\r
+Pango, atk and glib so that crashes and errors caused by different CRTs\r
+can be avoided.  The VS 2008 project files and/or VS Makefiles are\r
+either already available or will be available in the next stable release.\r
+Unfortunately compiling with Microsoft's compilers versions 2003 or earlier\r
+is not supported as compiling the latest stable GLib (which *is* required for\r
+building this GTK+ release) requires features from newer compilers\r
+and/or Platform SDKs\r
 \r
 After installing the dependencies, there are two ways to build GTK+\r
 for win32.\r
@@ -147,11 +156,23 @@ Use the Microsoft compiler, cl and Make, nmake. Say nmake -f
 makefile.msc in gdk and gtk. Be prepared to manually edit various\r
 makefile.msc files, and the makefile snippets in build/win32.\r
 \r
+There are also VS 2008/2010 solution and project files to build GTK+, which\r
+are maintained by Chun-wei Fan.  They should build GTK+ out of the box,\r
+provided that the afore-mentioned dependencies are installed.  They will\r
+build GDK with the Win32 backend, GTK+ itself (with GAIL/a11y built in),\r
+the GAIL-Util library and the gtk-demo program.\r
+\r
+Please refer to the following GNOME Live! page for a more detailed ouline\r
+on the process of building the GTK+ stack and its dependencies with Visual\r
+C++:\r
+\r
+https://live.gnome.org/GTK%2B/Win32/MSVCCompilationOfGTKStack\r
+\r
 Alternative 1 also generates Microsoft import libraries (.lib), if you\r
 have lib.exe available. It might also work for cross-compilation from\r
 Unix.\r
 \r
-I use method 1 myself. Hans Breuer has been taking care of the MSVC\r
+I (Tor) use method 1 myself. Hans Breuer has been taking care of the MSVC\r
 makefiles. At times, we disagree a bit about various issues, and for\r
 instance the makefile.msc files might not produce identically named\r
 DLLs and import libraries as the "autoconfiscated" makefiles and\r
@@ -182,3 +203,4 @@ sources. Unfortunately it seems that only Wacom tablets come with
 support for the Wintab API nowadays.\r
 \r
 --Tor Lillqvist <tml@iki.fi>, <tml@novell.com>\r
+--Updated by Fan, Chun-wei <fanc999@yahoo.com.tw>\r