X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=README.win32;h=6e2d9daaa69db3c9d10266ba066af885c1346866;hb=2a53b4d0e2c98a14aedf31e38f0ad1fb2e8fe26f;hp=a04417f91238c305fbae441a5fe2933b635bbda3;hpb=c83c91a57486fc684ca3d884d6e288972e8b82a7;p=platform%2Fupstream%2Fglib.git diff --git a/README.win32 b/README.win32 index a04417f..6e2d9da 100644 --- a/README.win32 +++ b/README.win32 @@ -67,6 +67,20 @@ you would be allowed by the license to distrubute a GLib linked to msvcr70.dll or msvcr80.dll, as those are not part of the operating system, but of the MSVC product. msvcrt.dll is part of Windows. +For people using Visual Studio 2005 or later: + +If you are building GLib-based libraries or applications, or GLib itself +and you see a C4819 error (or warning, before C4819 is treated as an error +in msvc_recommended_pragmas.h), please be advised that this error/warning should +not be disregarded, as this likely means portions of the build is not being +done correctly, as this is an issue of Visual Studio running on CJK (East Asian) +locales. This is an issue that also affects builds of other projects, such as +QT, Firefox, LibreOffice/OpenOffice, Pango and GTK+, along with many other projects. + +To overcome this problem, please set your system's locale setting for non-Unicode to +English (United States), reboot, and restart the build, and the code should build +normally. See also this GNOME Wiki page [1] that gives a bit further info on this. + Building software that use GLib or GTK+ ======================================= @@ -159,11 +173,22 @@ and libtool documentation. Building with Visual Studio =========================== -In an unpacked tarball, you will find in build\win32\vs9 a solution -file that can be used to build the GLib DLLs and some auxiliary -programs. Read the README.txt file in that folder for more -information. Note that you will need a libintl implementation, and -zlib. +A more detailed outline of building GLib with its dependencies can +now be found on the GNOME wiki: + +https://wiki.gnome.org/Projects/GTK%2B/Win32/MSVCCompilationOfGTKStack + +Please do not build GLib in paths that contain spaces in them, as +this may cause problems during compilation and during usage of the +library. + +In an unpacked tarball, you will find in build\win32\vs9 (VS 2008) and +build\win32\vs10 (VS 2010) a solution file that can be used to build +the GLib DLLs and some auxiliary programs under VS 2008 and VS 2010 +(Express Edition will suffice with the needed dependencies) respectively. +Read the README.txt file in those folders for more +information. Note that you will need a libintl implementation, zlib, and +libFFI. If you are building from a GIT checkout, you will first need to use some Unix-like environment or run build/win32/setup.py, @@ -356,3 +381,4 @@ dependencies order. +- plug-ins +- python +[1]: https://wiki.gnome.org/Projects/GTK%2B/Win32/MSVCCompilationOfGTKStack under "Preparations"