| 1 |
These project files were tested with the |
| 2 |
free Microsoft Visual C++ 2005 Express Edition. |
| 3 |
|
| 4 |
Visual C++ Express does NOT include the Win32 SDK Headers. |
| 5 |
They must be downloaded separately as documented in the |
| 6 |
installation instructions at Microsoft - consequently that |
| 7 |
extra installation must be referenced via a system variable: |
| 8 |
Set MSSdk=C:\Program Files\Microsoft Platform SDK |
| 9 |
|
| 10 |
In order to compile you need a valid Zlib SDK - you can |
| 11 |
download it from zlib.org in the archive zlib123-dll.zip - |
| 12 |
I had unpacked them to $(zziplibdir)/zlib inside the |
| 13 |
toplevel of the zziplib source tree. That SDK does ship |
| 14 |
with a "zlib1.dll" runtime and "zdll.lib" import library. |
| 15 |
|
| 16 |
The new Visual Studio has deprecated most of the Win32 API |
| 17 |
just as well as most of the Posix API. That provokes a lot |
| 18 |
of warning message in surplus of the many warning message |
| 19 |
that occur on every implicit conversion between signed and |
| 20 |
unsigned types. Other compilers are more clever about |
| 21 |
detecting real conversion issues, therefore they are not |
| 22 |
going to be "patched away" with an explicit conversion in |
| 23 |
the source files (I expect Microsoft to get it right somewhen). |
| 24 |
|
| 25 |
== Download Places == |
| 26 |
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ |
| 27 |
= central place referenced a lot in the MSDN but the link is broken |
| 28 |
|
| 29 |
http://download.microsoft.com/download/a/5/f/a5f0d781-e201-4ab6-8c6a-9bb4efed1e1a/PSDK-x86.exe |
| 30 |
http://download.microsoft.com/download/a/5/f/a5f0d781-e201-4ab6-8c6a-9bb4efed1e1a/PSDK-amd64.exe |
| 31 |
http://download.microsoft.com/download/a/5/f/a5f0d781-e201-4ab6-8c6a-9bb4efed1e1a/PSDK-ia64.exe |
| 32 |
= Windows Server 2003 SP1 Platform SDK Web Install (win32/win64/.. - but SDK for all CPU types) |
| 33 |
|
| 34 |
http://download.microsoft.com/download/f/a/d/fad9efde-8627-4e7a-8812-c351ba099151/PSDK-x86.exe |
| 35 |
http://download.microsoft.com/download/f/a/d/fad9efde-8627-4e7a-8812-c351ba099151/PSDK-ia64.exe |
| 36 |
http://download.microsoft.com/download/f/a/d/fad9efde-8627-4e7a-8812-c351ba099151/PSDK-amd64.exe |
| 37 |
= Windows Server 2003 R2 Platform SDK Web Install (win32/win64/.. - but SDK for all CPU types) |
| 38 |
|
| 39 |
http://download.microsoft.com/download/A/9/1/A91D6B2B-A798-47DF-9C7E-A97854B7DD18/VC.iso |
| 40 |
= Visual C++ Express CD-image |
| 41 |
http://download.microsoft.com/download/C/6/F/C6F4733B-67C7-4C15-9F21-61F7A3167505/VCS.iso |
| 42 |
= Visual C# Express CD-image |
| 43 |
|
| 44 |
http://zlib.net/zlib123-dll.zip (broken) |
| 45 |
http://zlib.net/zlib125-dll.zip |
| 46 |
= unpack one of them into zzip-0/zlib (if using the subversion checkout) |
| 47 |
|
| 48 |
== Environment Variables == |
| 49 |
On Windows-7 the environment variables can be found in the |
| 50 |
control panel > system information > change name settings > extras tab > click button |
| 51 |
|
| 52 |
== Debug Variables == |
| 53 |
To run the zziptest for debugging the solution file has now a setting |
| 54 |
in Properties > Debugging > Environment > PATH=$(InputDir)\..\zlib\ |
| 55 |
so that the zlib1.dll can be found. This needs to be adapted if the |
| 56 |
zlib123-dll.zip was unpackaged somewhere else. |
| 57 |
|
| 58 |
== Compiling Error == |
| 59 |
'can not delete debug/*.idb' - occurs when running MSVC in a VMWare box |
| 60 |
pointing to a Unix drive; create a symlink `ln -s Debug debug` to fix it. |
| 61 |
There are Pre/Post-Build Rules to remove *.idb but sometimes its left over. |