cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Installing libcurl on Windows 7

From: Andy Horsman <minirobotics_at_gmail.com>
Date: Sun, 14 Mar 2010 17:32:38 -0400

On Sun, Mar 14, 2010 at 5:16 PM, Guenter <lists_at_gknw.net> wrote:

> Hi Andy,
> Andy Horsman schrieb:
> > Hi there,
> >
> > I normally do most of my development on Linux, and I started
> > developing with libcurl successfully in Gentoo and Ubuntu. However I'd
> > like to be able to develop in my Windows 7 desktop as well. I'm trying
> > to install libcurl in Windows and have so far been unsuccessful, I'm
> > running gcc 3.4.5 (mingw special). So far I've tried the following
> >
> > * Gone to http://curl.haxx.se/download.html and downlaoded
> > curl-7.20.0.zip (latest version)
> > * Extracted to C:\Users\andrew\My Documents\curl
> > * Looked at the makefile and ran, /mingw32-make mingw32/
> > * Couldn't find the make target
> sure - why do you append a slash? run:
> mingw32-make mingw32
>
> > * Attempted to do the make semi-manually, ran /mingw32-make -C lib
> > -f Makefile.m32 /and/ mingw32-make -C src -f Makefile.m32/
> > * Attached the results, not sure if it ran successfully...
> I see no errors beside the ignored one which is normal - so there's no
> prob at all; just copy lib/libcurl.dll + src/curl.exe into another
> folder of your choice, and check with:
> curl -V
> if curl.exe runs.
>
> Gün.
>
>
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

> I see no errors beside the ignored one which is normal - so there's no
> prob at all; just copy lib/libcurl.dll + src/curl.exe into another
> folder of your choice, and check with:
> curl -V
> if curl.exe runs.

curl runs fine. Which files and where should I place them in order to
compile with g++. And is there a different option set for windows than
Linux' g++ -lcurl <file>

Thanks guys!

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-14