libzip with Visual Studio 2010

前端 未结 7 2223
萌比男神i
萌比男神i 2020-12-02 19:39

Is there anyway documentation for compiling libzip for Visual Studio 2010? Everything I have seen from the libzip website and Google has returned no results.

7条回答
  •  天涯浪人
    2020-12-02 20:12

    In current zlib version, there is a contrib for this:

    zlib-1.2.8\contrib\vstudio\vc10\zlibvc.sln

    I got an error on load because one of the configurations wasn't valid on my machine, but a recompile took care of that. I also had to change the project properties>Configuration Properties>Linker>Input>Additional Dependencies for the Debug configuration to change zlibwapi.lib to zlibwapid.lib.

提交回复
热议问题