cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: can i statically compile the lib?

From: Meir Yanovich <meiry242_at_gmail.com>
Date: Tue, 1 Apr 2008 20:10:59 +0200

ok thanks again to the fast replay
now i have one more error :

libcurl.lib(timeval.obj) : error LNK2001: unresolved external symbol
__imp__timeGetTime_at_0

is there any problem with that ?

On Tue, Apr 1, 2008 at 7:38 PM, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> On Tue, Apr 01, 2008 at 07:22:27PM +0200, Meir Yanovich wrote:
> > ok i will try this , but now im trying to build simple example and im
> > getting link errors
> > like this :
> > http-post.obj : error LNK2001: unresolved external symbol
> > __imp__curl_easy_cleanup
> > http-post.obj : error LNK2001: unresolved external symbol
> > __imp__curl_easy_perform
> > http-post.obj : error LNK2001: unresolved external symbol
> > __imp__curl_easy_setopt
> > http-post.obj : error LNK2001: unresolved external symbol __imp__curl_easy_init
> > Release/cURL_example.exe : fatal error LNK1120: 4 unresolved externals
> >
> > i have the curl lib in path and headers also but still what im missing here ?
>
> FAQ #5.7: http://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur
>
>
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com The web change of address service
> Let webmasters know that your web site has moved
>
Received on 2008-04-01