超越自我

mingw编译zlib

Filed under: 应用软件 ; Tags: — freeyun @ 2011-11-22 23:42:25

在安常规编译在报的错误“please use win32/makefile.gcc instead”
下面的方法即可解决
mingw编译最新版的zlib,这个是简要的操作说明:
cp win32/makefile.gcc makefile.gcc
make -fmakefile.gcc
export “INCLUDE_PATH=G:/mingw/zlib-1.25/include”
export “LIBRARY_PATH=G:/mingw/zlib-1.25/lib”
make install -fmakefile.gcc
cp zlib1.dll G:/mingw/zlib-1.25//bin

未命名
参考:http://www.gaia-gis.it/spatialite-2.4.0/mingw_how_to.html

本文链接地址:http://www.freeyun.com/2011/11/22/mingw-compile-zlib-1-2/

Leave a Reply