cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem when generate libcurl.lib

From: Gisle Vanem <giva_at_bgnett.no>
Date: Sat, 01 Jan 2005 21:35:23 +0100

<delphine.menjikoff_at_orsyp.com> wrote:

> On Windows (With Visual C++ IDE), the version 7.12.1 was OK : I
> generated with success without any warning a static library libcurl.lib.
>Now with the new version 7.12.3, I tried to compile and generate the
>libcurl.lib.
>The static library (libcurl.lib with 891Ko) was generated, but with 53
>warnings !!! always the same warnings:

>'curl_escape' : inconsistent dll linkage. dllexport assumed.
>'curl_unescape' : inconsistent dll linkage. dllexport assumed.

Add CURL_STATICLIB to your CFLAGS when *using* the static
libcurl.lib. Ref. the FAQ sec. 5.7.

--gv
Received on 2005-01-01