To build with VS2010: Simply follow instructions in zlib-1.2.8/contrib/vstudio/readme.txt, i.e., open zlib-1.2.8/contrib/vstudio/vc10/zlibvc.sln and build zlibstat for each platform and configuration. - Mark Tsuchida