cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: windows development FAQ (was Re: libcurl (perl) and windows)

From: Guido Reina <guidoreina_at_isdn-si.com>
Date: Wed, 6 Nov 2002 09:42:48 +0100

I have used libcurl under Visual C++ 6.0 and haven't had any problem. I hope
this mini-mini-mini howto helps somebody.

I have done the following (curl-7.10.1):
1. Open 'curllib.dsw' with Visual Studio.
2. Choose the active configuration (Build - Set Active Configuration...). I
choose 'curllib - Win32 Release'.
3. If you go to project settings, you will see that it uses MFC as a static
library.
4. Build - Build 'libcurl.dll'. You get in the directory 'Release/' two
files the files 'libcurl.dll' and 'libcurl.lib' (you will need both of
them).
5. Copy in your project's directory the files 'libcurl.dll' and
'libcurl.lib'.
6. Open your project and go to 'Project - Settings'.
7. In the Tab 'Link' add in the edit 'Object/library modules:' the libcurl's
lib ('libcurl.lib').
8. Note that if you are using the Release version of curllib.dll, your
project must also be set to Release version (my program failed because the
active configuration was Debug and I was using the Release version of the
libcurl, and the way round). I also would use MFC as a static library... If
you want to use MFC as a shared library, build the libcurl using MFC as a
shared library ---------------- All these is base upon my own experience,
trial and error.
9. Include 'curl.h'.
10. Grok URLs :).

I hope it was useful (Daniel, thank you very much for your great job and
support).

Guido.

----- Original Message -----
From: "Daniel Stenberg" <daniel_at_haxx.se>
To: "libcurl Mailing list" <curl-library_at_lists.sourceforge.net>
Sent: Wednesday, November 06, 2002 9:11 AM
Subject: windows development FAQ (was Re: libcurl (perl) and windows)

> On Mon, 4 Nov 2002, lupusdacicus wrote:
>
> > For future versions of curl, or maybe on the web site, I think it would
be
> > helpful if you had a windows development FAQ, maybe even have the link
to
> > some windows compilers, Nmake and such.
>
> Yes please. Send the fine docs and manuals our way and we will include
them
> on the site and show all curl users.
>
> I don't personally ever build or develop curl or libcurl on Windows and I
> have very few clues to offer for those people. We depend on the people who
> find the problems and who know the answers to provide the solutions to
> others.
>
> --
> Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
>

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Received on 2002-11-06