cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: MSVC 2010/ curl 7.36

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Thu, 8 May 2014 21:32:23 +0100

On Thu, 08 May 2014, David Tran wrote:

> MSVC 2010 error message:
>
> http://pastebin.com/TKY8eu41
>
> I used this command: nmake /f Makefile.vc mode=dll
>
> OS: Windows 8.1
>
> What could be wrong?
>
> tool_cb_rea.obj : error LNK2019: unresolved external symbol
> _curlx_read referenced in function _tool_read_cb

The curlx_read() function isn't being found as "warnless.c" is missing from
the list of files to use when compiling the src directory :(

This was fixed just after 7.36.0 was released in commit
2dc63c72dc86029e4586aab48517297626f2e455.

If you want to compile the 7.36.0 code via the winbuild makefiles then
you'll need to patch \winbuild\MakefileBuild.vc

If you don't have git installed or a copy of the repo then you grab the file
from the nightly builds as it hasn't changed since that commit.

Kind Regards

Steve
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-08