cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Win32 version of curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 31 Oct 2005 23:07:30 +0100 (CET)

On Mon, 31 Oct 2005, Dave M wrote:

> I tried adding the library project to my cURL workspace
> "Project-InsertProject" cURL\lib\curllib.dsp and added it as a dependency
> "Project-Dependencies" Select cURL and check curllib. Now I am down to three
> unresolved externals. I am not sure if this is progress or if it is just
> giving up faster...
>
> Any ideas?

Yeps. You get these errors because you need to compile two files from the lib/
dir and link with when you build the curl executable.

That is, the client (curl) uses source code from the lib. Two source files to
be exact:

> main.obj : error LNK2001: unresolved external symbol _curlx_tvdiff
> main.obj : error LNK2001: unresolved external symbol _curlx_tvnow

lib/timeval.c

> main.obj : error LNK2001: unresolved external symbol _curlx_strtoll

lib/strtoofft.c

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