i compiled the downlod file from the curl hp.

created 3 Folders on C:\...
1 called include  (All includes pasted from the downloaded file)

1 called lib ( Dunno what to paste there, tried the libs i find in        
DLL_DEBUG fromthe compiled Curl file but doesnt work..)

1 called VisualStudio (main.cpp file...)


compile works fine but i have no libcurl.lib.
i only find libcurld_imp.lib, when i link to this lib it doesnt work, get the 
same errors...

thank you for your help



-------- Original-Nachricht --------
> Datum: Sun, 13 Dec 2009 04:17:44 -0800
> Von: "Corcoran, Jason" <[email protected]>
> An: "libcurl development" <[email protected]>
> CC: [email protected]
> Betreff: Re: Problem with linking lib

> 
> 
> On Dec 13, 2009, at 3:18 AM, "Michael Trawny" <[email protected]> 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

-- 
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to