[Zlib-devel] zlib 1.2.3.7 available for testing

Hiroshi Kuno hkuno-zlib at microhouse.co.jp
Mon Jan 25 06:12:45 EST 2010


hi, Gilles and all.
I make a patch for minizip, to build minizip by Visual C++ 9.0.
http://win32cmdx.googlecode.com/files/zlib1237-contrib-vstudio-vc9.zip
Please marge them into your code base.

My patch has three points.

1. Converting the "zlibvc.sln" and "*.vcproj" for VC9.
   And saving to new folder "contrib/vstudio/vc9/"

2. Adding a define "_CRT_NONSTDC_NO_WARNINGS" for zlibvc.vcproj's PreprocessorDefinitions,
   to shut off warning C4996 "The POSIX name for this item is deprecated."

3. Adding *64 functions to "zlibvc.def", to avoid link error. see following.
>minizip.obj : error LNK2019: unresolved external symbol _zipOpenNewFileInZip3_64 at 68 referenced in function _main
>minizip.obj : error LNK2019: unresolved external symbol _zipOpen2_64 at 16 referenced in function _main
>miniunz.obj : error LNK2019: unresolved external symbol _unzGetCurrentFileInfo64 at 32 referenced in function _do_list
>miniunz.obj : error LNK2019: unresolved external symbol _unzGetGlobalInfo64 at 8 referenced in function _do_list
>miniunz.obj : error LNK2019: unresolved external symbol _unzOpen2_64 at 8 referenced in function _main

(2010/01/24 19:18), Gilles Vollant wrote:
> http://gvollant.free.fr/add1237.zip try contain the minizip patch, add
> updated VC8 project and deffile
> you can remove zconf* in contrib/minizip
 




More information about the Zlib-devel mailing list