curl-library
Re: Compilation errors using libcurll and mingw
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 22 Sep 2005 12:02:51 +0200 (CEST)
Date: Thu, 22 Sep 2005 12:02:51 +0200 (CEST)
On Thu, 22 Sep 2005, Siddharth Vijayakrishnan wrote:
> /tmp/cchxm8a8.o(.text+0x1d5):getlog.c: undefined reference to
> `__imp__curl_easy_init'
> and so on for every libcurl call.
This is because for Windows, you need to define CURL_STATICLIB if you build
your application to use the static version of libcurl.
Without that define, it assumes the shared version and thus uses that __imp__
thing.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-09-22