cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Windows - yet again

From: David Byron <DByron_at_everdreamcorp.com>
Date: Mon, 7 Mar 2005 11:28:09 -0800

> I'm wondering if anyone has successfully built curl on
> windows 32 platform using MSVC 6 at all, with or without
> SSL?

I have, with SSL, statically linked. I can only build the release
configurations though, not the debug ones.

> If you have, could you please point me to what method used
> (project or makefile) and any special changes done to the
> project or the code? I'm trying to build it on my own, but
> there's things going wrong every time (and interestingly
> enough, different things for each version I try). If I do
> manage to compile it, I'll be happy to supply the required
> changes to make things work back to the community, and even
> supply binaries if desired.

Here's the process I use. This assumes openssl and zlib are already
built. I'm using version 0.9.7a of openssl now, but I've also gotten
this to work with 0.9.7e. I'm using zlib 1.1.4. Yes, I need to
upgrade.

- open a cmd shell and execute vcvars32.bat from Visual Studio 6

>From the cmd prompt, type:

anywhere>cd <root of curl (the place where CHANGES is)>
curl root>set OPENSSL_PATH=<root of openssl>
curl root>set ZLIB_PATH=<root of zlib>

curl root>cd lib
curl root\lib>nmake /f Makefile.vc6 cfg=release-ssl
curl root\lib>cd ..\src
curl root\src>nmake /f Makefile.vc6 cfg=release-ssl

Let me know how this works for you.

-DB
Received on 2005-03-07