cURL / Mailing Lists / curl-library / Single Mail


Re: Can't link to library

From: Daniel Stenberg <>
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:
Received on 2005-09-02