下载libpng http://www.libpng.org/pub/png/libpng.html 下载zlib http://www.zlib.net/ 将libpng和zlib的源码解压到相同的文件夹里: