cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multipart Problems on Windows

From: J de Lint <jg.de.lint_at_xs4all.nl>
Date: Mon, 08 Nov 2010 18:19:05 +0100

Op 8-11-2010 17:26, David Graf schreef:
> On Windows, I use version 7.21.1.
>
> I tried to test multi-post.c. Unfortunately, there are two problems on
> Windows. The first one is an include that doesn't work. But that's
> easy to fix. <sys/time.h> needs to be replaced by <windows.h>. But the
> second, I couldn't fix. It is the following linker error:
>
> Linking CXX executable curl_example.exe
> main.cpp.obj : error LNK2019: unresolved external symbol _select_at_20
> referenced in function _main
> curl_example.exe : fatal error LNK1120: 1 unresolved externals
> LINK failed. with 2
> NMAKE : fatal error U1077: '"C:\Program Files\CMake
> 2.8\bin\cmake.exe"' : return code '0xffffffff'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 10.0\VC\BIN\nmake.exe"' : retu
> rn code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 10.0\VC\BIN\nmake.exe"' : retu
> rn code '0x2'
> Stop.
>
> The invocation 'select' doesn't seem to work. Does someone know how to
> fix that?
>
On a similar question I got this answer:
http://msdn.microsoft.com/en-us/library/ms740141%28VS.85%29.aspx
curl multi cannot possibly work without it.
]an
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-08