Zlib1.dll is an easy one.
1. Go to
http://www.zlib.net/ and download the "compiled zlib dll"
2. Extract it somewhere useful. I just stuck it in C:\Program Files\zlib, but if you have a dedicated place for coding libs and dlls and such, that would be better.
3. Add the appropriate paths (include, lib, etc.) to your IDE C++ directories settings.
4. In the Project Properties under Linker -> Input, add the additional dependency zlib.lib
Depending on your system config, you may need to add "libcmt.lib" as an "Ignore specific library" setting, since it's a multi-thread library and can conflict with zlib's single-threaded nature.
I think that's all there was to get zlib-based projects to work on my machine.
- Shendare