[Libwebsockets] [libwebsockets] #41: Building Libwebsockets under Windows 7 fails.

Trac trac at libwebsockets.org
Thu Sep 26 15:42:55 CEST 2013


#41: Building Libwebsockets under Windows 7 fails.
-----------------------------------+-----------------
 Reporter:  mart22n                |      Owner:
     Type:  defect                 |     Status:  new
 Priority:  major                  |  Milestone:
Component:  libwebsockets library  |    Version:
 Keywords:                         |
-----------------------------------+-----------------
 Using Windows 7 64 bit, cloned repo on 20130926. Using Qt creator and
 Microsoft Visual C++ Compiler 9.0 (x86).

 Result (errors from compile output):
 D:\Projects\CDPStudioAPI\libwebsockets_orig\lib\client-handshake.c:87:
 error: C2065: 'EALREADY' : undeclared identifier

 D:\Projects\CDPStudioAPI\libwebsockets_orig\lib\client-handshake.c:87:
 error: C2065: 'EINPROGRESS' : undeclared identifier

 Possible solution is to use wsockcompat.h (compatibility header for using
 EALREADY, EINPROGRESS etc in older versions of Windows SDK). Compiled fine
 when I #included wsockcompat.h into client-handshake.c

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/41>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list