cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multipart Problems on Windows

From: David Graf <david.graf_at_28msec.com>
Date: Mon, 8 Nov 2010 20:07:40 +0100

It works! I need to link against Ws2_32.lib. Thanks for the help!

On Nov 8, 2010, at 6:19 PM, J de Lint wrote:

> 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

------------
David Graf
Software Architect

28msec Inc.
http://www.28msec.com/
http://twitter.com/28msec
------------

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