zlib on Windows
Date: Tue, 22 Jun 2004 17:50:21 -0700
Hi, there. I'm trying to build libcurl on windows using VC++ 6.0 and have not been successful.
I was able to download and build OpenSSL statically fine. But as for zlib, the only download I could find was the DLL version from http://www.gzip.org/zlib. I also tried downloading the source but I could not make out how to build it. :(
Anyway, so I thought I was okay with just setting ZLIB_PATH to where I unzipped the zlib package. But, I'm getting the following when I run "nmake vc-ssl":
link.exe /incremental:no /libpath:"../lib" /nologo /libpath:"d:\ever\zli
b-1.2.1" /out:curl.exe /subsystem:console /machine:I386 /LIBPATH:"d:\ever\openss
l-0.9.7d/out32" wsock32.lib libcurl.lib winmm.lib zlib.lib libeay32.lib ssleay32
.lib gdi32.lib hugehelpr.obj writeoutr.obj urlglobr.obj getpassr.obj homedir
r.obj timevalr.obj strtoofftr.obj mainr.obj curlr.res
LINK : fatal error LNK1181: cannot open input file "zlib.lib"
NMAKE : fatal error U1077: 'link.exe' : return code '0x49d'
NMAKE : fatal error U1077: 'G:\PROGRA~1\MIAF9D~1\VC98\BIN\NMAKE.EXE' : return co
I checked my zlib directory and it really doesn't have zlib.lib. It has zdll.lib instead in the lib directory. So, I guess, my question is, where do I get zlib.lib?
Thanks. I'd appreciate any help.
Received on 2004-06-23