cURL / Mailing Lists / curl-library / Single Mail


RE: Building and using static libcurl on Windows with VS2008

From: Andrei Jakab <>
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
> 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.

Received on 2009-01-07