<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Alrighty, so I download the 1.2 release unpack it and convert it to my VStudio version-- all is well.<br>I just add one source file (main.cpp) and change the project type from static library to executable and build.<br>I get the following errors:<br><br>[errors]<br>&gt;------ Build started: Project: enet, Configuration: Debug Win32 ------<br>1&gt;Compiling...<br>1&gt;win32.c<br>1&gt;Linking...<br>1&gt;callbacks.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification<br>1&gt;callbacks.obj : error LNK2019: unresolved external symbol _enet_initialize referenced in function _enet_initialize_with_callbacks<br>1&gt;host.obj : error LNK2019: unresolved external symbol _enet_socket_set_option referenced in function _enet_host_create<br>1&gt;host.obj : error LNK2019:
 unresolved external symbol _enet_socket_create referenced in function _enet_host_create<br>1&gt;host.obj : error LNK2019: unresolved external symbol _enet_socket_destroy referenced in function _enet_host_destroy<br>1&gt;host.obj : error LNK2019: unresolved external symbol _enet_time_get referenced in function _enet_host_bandwidth_throttle<br>1&gt;protocol.obj : error LNK2001: unresolved external symbol _enet_time_get<br>1&gt;protocol.obj : error LNK2019: unresolved external symbol _enet_socket_send referenced in function _enet_protocol_send_outgoing_commands<br>1&gt;protocol.obj : error LNK2019: unresolved external symbol _enet_socket_wait referenced in function _enet_host_service<br>1&gt;protocol.obj : error LNK2019: unresolved external symbol _enet_socket_receive referenced in function _enet_protocol_receive_incoming_commands<br>1&gt;.\Debug\enet.exe : fatal error LNK1120: 8 unresolved externals<br>1&gt;Creating browse information
 file...<br>1&gt;Microsoft Browse Information Maintenance Utility Version 8.00.50727<br>1&gt;Copyright (C) Microsoft Corporation. All rights reserved.<br>1&gt;Build log was saved at "file://c:\Users\Matthew\Documents\Visual Studio 2005\Projects\enet-1.2\Debug\BuildLog.htm"<br>1&gt;enet - 10 error(s), 1 warning(s)<br>[/errors]<br><br>Righto, so I look at the actual definition and insert a #define WIN32 in win32.c (the definition was greyed out for somereason) then I compile again<br>Now, I only get these errors.<br><br>[errors]<br>1&gt;------ Build started: Project: enet, Configuration: Debug Win32 ------<br>1&gt;Compiling...<br>1&gt;win32.c<br>1&gt;c:\include\time_calls.h(71) : error C2148: total size of array must not exceed 0x7fffffff bytes<br>1&gt;c:\include\time_calls.h(71) : error C2079: 'start' uses undefined struct 'timeval'<br>1&gt;c:\include\time_calls.h(474) : error C2036: 'timeval *' : unknown size<br>1&gt;c:\include\time_calls.h(479) : error
 C2036: 'timeval *' : unknown size<br>1&gt;c:\program files\microsoft visual studio 8\vc\include\sys\time.h(126) : error C2079: 'last_read' uses undefined struct 'timeval'<br>1&gt;c:\program files\microsoft visual studio 8\vc\include\sys\time.h(154) : error C2037: left of 'tv_sec' specifies undefined struct/union 'timeval'<br>1&gt;c:\program files\microsoft visual studio 8\vc\include\sys\time.h(154) : error C2224: left of '.tv_sec' must have struct/union type<br>1&gt;c:\users\matthew\documents\visual studio 2005\projects\enet-1.2\win32.c(31) : warning C4013: 'timeBeginPeriod' undefined; assuming extern returning int<br>1&gt;c:\users\matthew\documents\visual studio 2005\projects\enet-1.2\win32.c(39) : warning C4013: 'timeEndPeriod' undefined; assuming extern returning int<br>1&gt;c:\users\matthew\documents\visual studio 2005\projects\enet-1.2\win32.c(47) : warning C4013: 'timeGetTime' undefined; assuming extern returning int<br>1&gt;Creating browse
 information file...<br>1&gt;Microsoft Browse Information Maintenance Utility Version 8.00.50727<br>1&gt;Copyright (C) Microsoft Corporation. All rights reserved.<br>1&gt;Build log was saved at "file://c:\Users\Matthew\Documents\Visual Studio 2005\Projects\enet-1.2\Debug\BuildLog.htm"<br>1&gt;enet - 7 error(s), 3 warning(s)<br>========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br>[/errors]<br><br>The ONLY code I have written is :<br>#include "enet.h"<br><br>int main( int argc, char* argv[] )<br>{<br>&nbsp;&nbsp;&nbsp; return 1; <br>}<br><br>I am also linking ws2_32.lib and have defined WIN32_LEAN_AND_MEAN<br></div></div><br>

      </body></html>