cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Win32 version of curl

From: Dave M <DaveM_at_mich.com>
Date: Sun, 30 Oct 2005 09:55:27 -0500

At 02:08 AM 10/26/2005 , Daniel Stenberg wrote:
>3 - If you really want to do it "visual studio style" ... described in the
>docs/INSTALL file.
>
>It'll help us if you can tell us what errors you got and in what ways the
>existing documentation/setup is not working/good enough!

I did the following in Visual Studio 6:

- Make a new win32 console application called cURL.
- Unzip the cURL files to this folder.
- Add all "curl/src" to the project using "Project-AddToProject-Files".
- Add "curl/include" using "Tools-Options-Directories".
- Add "curl/lib" using "Tools-Options-Directories".
- Add "curl/lib/debug" using "Tools-Options-Directories".

I tried to compile and get:

--------------------Configuration: cURL - Win32 Debug--------------------
Linking...
main.obj : error LNK2001: unresolved external symbol __imp__curl_slist_free_all
main.obj : error LNK2001: unresolved external symbol __imp__curl_formfree
main.obj : error LNK2001: unresolved external symbol __imp__curl_easy_cleanup
.
.
.
Debug/cURL.exe : fatal error LNK1120: 30 unresolved externals
Error executing link.exe.
cURL.exe - 38 error(s), 0 warning(s)
-------------------------------------------------------------------------

I tried to compile the lib\curllib.dsw project but it keeps asking for a
path to an exe file. Not sure what file it is asking for.

-------------------------------
Dave M
Davem (at) Mich (dot) Com
Ann Arbor, Mich. USA
Endangered electronic species: http://www.eff.org/endangered/list.php
Received on 2005-10-30