curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Issues building curl 7.59 on windows

From: Ray Satiro <raysatiro_at_yahoo.com>
Date: Fri, 23 Mar 2018 18:10:12 -0400

On 3/23/2018 5:34 PM, Mamta Upadhyay wrote:
> I am trying to build curl 7.59 on windows with static c-ares version
> 1.13. It gives me the below link errors which I am unable to resolve:
>
> nmake INFO version.obj : error LNK2019: unresolved external symbol __imp__ares_version referenced in function _curl_version

You will have to define CARES_STATICLIB, refer to
https://github.com/c-ares/c-ares/blob/cares-1_14_0/README.msvc#L133-L138

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-03-23