cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Building and using static libcurl on Windows with VS2008

From: Andrei Jakab <andrei.jakab_at_tut.fi>
Date: Wed, 7 Jan 2009 11:29:27 +0200

> So I download the sources, open curlib.vcproj in VS 2008, added
> "CURL_STATIC" in preprocessor definitions and build static library(I'm
> following the instruction from
> http://curl.haxx.se/libcurl/c/Using-libcurl-with-SSH-support-in-Visual-
> Studio-2008.pdf).

Hi Sergei,

As Gisle already mentioned, the preprocessor directive should be
CURL_STATICLIB and not CURL_STATIC. Follow what Gisle said and you should be
in business. The updated version of the guide reflects all these changes and
it should be available on the website soon.

Regards,
Andrei
Received on 2009-01-07