]> git.tdb.fi Git - ext/zlib.git/blob - contrib/vstudio/readme.txt
Import zlib 1.2.13
[ext/zlib.git] / contrib / vstudio / readme.txt
1 Building instructions for the DLL versions of Zlib 1.2.13
2 ========================================================
3
4 This directory contains projects that build zlib and minizip using
5 Microsoft Visual C++ 9.0/10.0.
6
7 You don't need to build these projects yourself. You can download the
8 binaries from:
9   http://www.winimage.com/zLibDll
10
11 More information can be found at this site.
12
13
14
15
16
17 Build instructions for Visual Studio 2008 (32 bits or 64 bits)
18 --------------------------------------------------------------
19 - Decompress current zlib, including all contrib/* files
20 - Open contrib\vstudio\vc9\zlibvc.sln with Microsoft Visual C++ 2008
21 - Or run: vcbuild /rebuild contrib\vstudio\vc9\zlibvc.sln "Release|Win32"
22
23 Build instructions for Visual Studio 2010 (32 bits or 64 bits)
24 --------------------------------------------------------------
25 - Decompress current zlib, including all contrib/* files
26 - Open contrib\vstudio\vc10\zlibvc.sln with Microsoft Visual C++ 2010
27
28 Build instructions for Visual Studio 2012 (32 bits or 64 bits)
29 --------------------------------------------------------------
30 - Decompress current zlib, including all contrib/* files
31 - Open contrib\vstudio\vc11\zlibvc.sln with Microsoft Visual C++ 2012
32
33 Build instructions for Visual Studio 2013 (32 bits or 64 bits)
34 --------------------------------------------------------------
35 - Decompress current zlib, including all contrib/* files
36 - Open contrib\vstudio\vc12\zlibvc.sln with Microsoft Visual C++ 2013
37
38 Build instructions for Visual Studio 2015 (32 bits or 64 bits)
39 --------------------------------------------------------------
40 - Decompress current zlib, including all contrib/* files
41 - Open contrib\vstudio\vc14\zlibvc.sln with Microsoft Visual C++ 2015
42
43
44 Important
45 ---------
46 - To use zlibwapi.dll in your application, you must define the
47   macro ZLIB_WINAPI when compiling your application's source files.
48
49
50 Additional notes
51 ----------------
52 - This DLL, named zlibwapi.dll, is compatible to the old zlib.dll built
53   by Gilles Vollant from the zlib 1.1.x sources, and distributed at
54     http://www.winimage.com/zLibDll
55   It uses the WINAPI calling convention for the exported functions, and
56   includes the minizip functionality. If your application needs that
57   particular build of zlib.dll, you can rename zlibwapi.dll to zlib.dll.
58
59 - The new DLL was renamed because there exist several incompatible
60   versions of zlib.dll on the Internet.
61
62 - There is also an official DLL build of zlib, named zlib1.dll. This one
63   is exporting the functions using the CDECL convention. See the file
64   win32\DLL_FAQ.txt found in this zlib distribution.
65
66 - There used to be a ZLIB_DLL macro in zlib 1.1.x, but now this symbol
67   has a slightly different effect. To avoid compatibility problems, do
68   not define it here.
69
70
71 Gilles Vollant
72 info@winimage.com
73
74 Visual Studio 2013 and 2015 Projects from Sean Hunt
75 seandhunt_7@yahoo.com