小编Kar*_* B.的帖子

Error while configuring libpng: "zlib not installed"

OS: Win7, using MinGW, sh.exe from MSYS

./configure --prefix=/mingw
Run Code Online (Sandbox Code Playgroud)

with and without prefix ends like this:

checking for zlibVersion in -lz... no
checking for yeszlibVersion in -lz... no
configure: error: zlib not installed
Run Code Online (Sandbox Code Playgroud)

i've installed zlib through cmake, it went smoothly and without errors, so i have all zlib files in my bin, lib and include folders
what can be the problem? how do i fix this?

UPD
looks like it's because i have libzlib.dll and not libz.dll in bin …

c mingw zlib msys libpng

4
推荐指数
1
解决办法
5315
查看次数

标签 统计

c ×1

libpng ×1

mingw ×1

msys ×1

zlib ×1