cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using libcurl with zlib

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Thu, 10 May 2012 17:16:28 +0200

"east2006 east2006" <east2006_at_gmail.com> wrote:

> Thank you, that solved it
>
> When compiling libcurl with zlib (MSVC), I get this error:
>
> libcurl.res : fatal error LNK1241: resource file zlib1d.lib(zlib1.res)
> already specified

Well, zlib1.res must have been included twice. Why, I don't know.
Where and how was zlib1d.lib built? Did you build it using
zlib's old\visualc6\zlib.dsp? I don't think that's up-to-date.
Anyway, use 'link -verbose' to figure it out.

> Unless I turn on 'Link Time Code Generation'.

I have no idea what that is.

--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-05-10