You may also have to add ws2_32.lib to your list of dependencies if you have undefined reference to _ntohl and other &quot;networkish&quot; function names.<br><br><div class="gmail_quote">On Wed, May 6, 2009 at 11:19 AM, Lee Salzman <span dir="ltr">&lt;<a href="mailto:lsalzman1@cox.net">lsalzman1@cox.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The timeBeginPeriod and so forth linker issues mean that you need to add &quot;winmm.lib&quot; to your list of dependencies.<br>
<font color="#888888">
<br>
Lee</font><div><div></div><div class="h5"><br>
<br>
Alex Milstead wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<br>
<br>
I&#39;m new to Enet usage. For starters, I&#39;d like to say how impressed I am with the minimalist approach to UDP sockets and client/server connection issues you&#39;ve taken. It makes the library very attractive and really easy to implement.<br>

<br>
Unfortunately, however, I&#39;ve had some issues.<br>
<br>
Basic setup: I have a server program running on Linux 32-bit (compiling and lib usage was EASY here), that runs great.<br>
I also have a client program (for some initial testing) on Windows 64-bit, using Visual Studio 2008 Pro. Oddly enough, following the instructions to include ws2_32.lib before compiling, then compiling works great. Switching to a DLL build, however, causes issues.<br>

<br>
In any case, I tried out the .lib build, enet builds fine and I can include it in my project, but I get odd linker errors when I try to build/run the program, basically to the effect of &quot;enet.lib(win32.obj)  : error LNK2019: unresolved external symbol&quot;, referencing the &quot;timeBeginPeriod, timeEndPeriod, etc...&quot; methods that are called inside of in enet_initialize, deinitialize, and enet_time_get.<br>

<br>
I&#39;m pretty lost as to what to do at this point. I haven&#39;t tried it on a 32-bit windows OS yet, but that&#39;s mainly because I don&#39;t have one readily accessible. Any ideas?<br>
<br>
Thanks,<br>
Alex Milstead<br>
_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
</div></div></blockquote></div><br>