Bugs item #1276016, was opened at 2005-08-29 22:23
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1276016&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: compile or build problem
>Group: bad behaviour
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: libcurl build failure on Win32
Initial Comment:
I just downloaded the generic source for 7.14.0 and tried
to build libcurl with the .DSW file provided (I use VC7,
but that should not affect anything). The problem seems
to be that when defining CURL_EXTERN, the code
checks for the BUILDING_LIBCURL preprocessor
symbol, which is not present in the .DSW file. Instead,
a preprocessor symbol called CURLLIB_EXPORTS is
present. If I change curl.h line 55 from
#if defined(BUILDING_LIBCURL)
to
#if defined(BUILDING_LIBCURL) || defined
(CURLLIB_EXPORTS)
everything builds fine. I supposed I could also have
added BUILDING_LIBCURL to the preprocessor symbol
list, but this worked fine for me.
Thanks,
Kevin Lussier
kevin_at_codegreennetworks.com
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Date: 2005-08-29 22:59
Message:
Logged In: YES
user_id=1110
Thanks for your report!
I actually took the other approach, I changed the DSP file
to use the correct define instead to make it more similar to
how it is done by the Makefile, as the DSP was the only
place that used the CURLLIB_EXPORTS define.
Closing this now. You should be able to test my fix in the
next daily snapshot. (The file is generated by a script when
the build archive is generated, so it isn't available for
easy download from CVS or similar).
Thanks!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1276016&group_id=976
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-tracker
Received on 2005-08-29