cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can't link to library

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 2 Sep 2005 17:01:51 +0200 (CEST)

On Thu, 1 Sep 2005, Billybob wrote:

> I'm trying to use libcurl. I had it working fine before, but I did something
> and now it won't work anymore.
> Whenever I try to compile my program I get this:
> ManualSubDlg.obj : error LNK2001: unresolved external symbol
> __imp__curl_easy_perform

...

> I'm using MSVC 6, C++ app, MFC, latest stable version of libcurl (I got it a
> few days ago).

...

> I've tried adding the weird thing, like CURL_STATICLIB or something, and
> that just caused more errors.

Defining CURL_STATICLIB is the way it is supposed to be done if you build your
app on windows and use libcurl statically.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-09-02