Hello, I have been trying to compile the zipfile source code using gcc on Windows 10, without success. I suspect there are compatibility issues because it needs a third party header(zlib.h). Anybody with experience with it?
Download zlib from http://zlib.net/
Unzip somewhere and follow the directions to build the library.
Modify your build tooling (Makefile or clickety-pokey or whatever you are using) to include the appropriate directory containing the zlib.h header.
Modify your build tooling (Makefile or clickety-pokey or whatever you are using) to include the appropriate zlib.lib/libzlib.a library in the link step.
For the last two steps, I just placed copies of zlib.h and libz.a in the "standard locations" where the compiler looks for includes and libraries, then I only have to tell gcc to -lz to link with the library rather than set an include path and a library path.