<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>Hmm, I likely had the same problem (I've fixed my enet problem btw, thanks)<br>Maybe those files should have a slight rename, like enet_time.h for example.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;">----- Original Message ----<br>From: Bjørn Lindeijer &lt;bjorn@lindeijer.nl&gt;<br>To: Discussion of the ENet library &lt;enet-discuss@cubik.org&gt;<br>Sent: Thursday, July 31, 2008 12:33:29 AM<br>Subject: Re: [ENet-discuss] Using enet with C++<br><br>
On 7/30/08, ingmar wirths &lt;<a ymailto="mailto:ingmania@googlemail.com" href="mailto:ingmania@googlemail.com">ingmania@googlemail.com</a>&gt; wrote:<br>&gt;&nbsp; &gt; Probably your errors will be gone once you include ENet as follows:<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt; #include &lt;enet/enet.h&gt;<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt; And make sure the enet/ directory is not in your compiler's search path.<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt; I think the tutorial might be missing this... you're at least the<br>&gt;&nbsp; &gt; third I've seen doing that and having problems.<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt; Regards,<br>&gt;&nbsp; &gt; Bjørn<br>&gt;<br>&gt;<br>&gt; Thanks, that works. I had indeed the enet include directory in the search path.<br>&gt;&nbsp; However, im curious, why is that a problem?<br><br>Just take a short look at the files in the enet directory. You'll see<br>files named "unix.h", "types.h", "time.h", etc. When you put
 include<br>files with such generic names in your compiler's global search path,<br>you're bound to find your compiler include the wrong one at some<br>point.<br><br>Like for example /usr/include/enet/time.h instead of the standard<br>system header /usr/include/time.h. Judging by your errors this one<br>seems to have bitten you, since the compiler is complaining about lots<br>of missing time-related methods.<br><br>Regards,<br>Bjørn<br>_______________________________________________<br>ENet-discuss mailing list<br><a ymailto="mailto:ENet-discuss@cubik.org" href="mailto:ENet-discuss@cubik.org">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></div><br>



      </body></html>