cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-3060381 ] Bad CFLAG given in FAQ

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 08 Sep 2010 21:25:18 +0000

Bugs item #3060381, was opened at 2010-09-06 15:04
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3060381&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: documentation
Group: wrong content
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Artfunkel (artfunkel)
Assigned to: Daniel Stenberg (bagder)
Summary: Bad CFLAG given in FAQ

Initial Comment:
On http://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur we are told that "when building an application that uses the static libcurl library, you must add -DCURL_STATICLIB to your CFLAGS".

That does not work in Visual Studio; "CURL_STATICLIB" is the actual term. Additionally, CFLAGS are known as "Preprocessor Definitions" in VS.

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2010-09-08 23:25

Message:
Thanks for the report, this problem is now fixed in the git repository.

To try it out, you either checkout/update your git clone:
http://curl.haxx.se/source.html

or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2010-09-07 10:30

Message:
Oh.

But note that the answer is actually for windows in general so we better
provide an answer that works generically for more than just visual
studio...

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3060381&group_id=976
Received on 2010-09-08

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET