Subject: Re: Need help in building the C-ares on windows

Re: Need help in building the C-ares on windows

From: Arif Ali <arif.ali.syed_at_gmail.com>
Date: Mon, 8 Sep 2014 14:17:29 +0530

Re: Need help in building the C-ares on windows

Yay! I got it working thanks Deniel.

Mistakes
---------------
Here is the list of mistake i did( for the benefit of others)

1) I downloaded the source from git-mainline. it dint have that ares_build.h
   you should download the tarball from haxx.se only.

2) I hadnt referred to readMe.msvc

Trouble shooting
---------------

After running the nmake it dint work it threw some fatal error U1077.
Googling said that somehting failed in build process. either compilation or
linking is failed.

Action taken => stopped building using commandline( nmake) and went to "vc"
directory.
opened the vc6aws.sln and built, this also gave the build error it was link
error.

All sample projects did not link and the reason was all three project files
had included following two c files which was not required.

inet_net.pton.c
inet_ntop.c

these two files are included by "cares" project also and three example
project links to cares,
so multiple definiation of functions in these two files.

removed these two files from all sample project and its working now.

Happy C-ares-ing.

-Arif

-Arif
Received on 2014-09-08