没有找到所需的 Zlib 库

Didn't Find the Required Zlib Library

我正在使用用 C++ 编写的代码,我的编译有一个问题,即我的项目是 64 位的,我正在使用 zlib.lib,这会产生错误。

module machine type 'x64' conflicts with target machine type 'x86'

我没有找到 GNU 64 位,但我需要的只是 zlib.lib 作为 64 位,它存在吗?

"target machine type 'x86'" 看来您需要将编译器选项从 x86 目标更改为 64 目标...