cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with linking lib

From: Corcoran, Jason <jcorcoran_at_informatica.com>
Date: Sun, 13 Dec 2009 04:17:44 -0800

On Dec 13, 2009, at 3:18 AM, "Michael Trawny" <Kolior_at_gmx.de> wrote:

> hi together,
>
> i have the following problem:
>
> I use MS VS 2008 and libcurl...
>
> i tried to compile my code and geht the following errors..
>
> 1>Main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes S
> ymbol "__imp__curl_easy_cleanup" in Funktion "_main".
> 1>Main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes S
> ymbol "__imp__curl_easy_perform" in Funktion "_main".
> 1>Main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes S
> ymbol "__imp__curl_easy_setopt" in Funktion "_main".
> 1>Main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes S
> ymbol "__imp__curl_easy_init" in Funktion "_main".
>
>
> i think thats a Link problem.
>
> but i tried to link:
> libcurl.dll and libcurld_imp

You need to link against libcurl.lib not the dll

Jason
http://www.informatica.com/9
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-13