http://www.zlib.net/
不要用vc++ Express 2010软件有bug 编译有清单错误
vc:
直接 nmake -f win32/makefile.msc
清除前次编译 nmake -f win32/makefile.msc clean
mingw:
make -f win32/makefile.gcc
cp -iv *.dll /mingw/bin;\
cp -iv zconf.h zlib.h /mingw/include;\
cp -iv *.a *.lib /mingw/lib;
或
cp -rfv *.dll /mingw/bin;\
cp -rfv zconf.h zlib.h /mingw/include;\
cp -rfv *.a *.lib /mingw/lib;
转载于:https://my.oschina.net/rechy/blog/189730