Thanks Lee. I got this working now.<br><br><div class="gmail_quote">On Fri, Jul 4, 2008 at 11:26 AM, Lee Salzman &lt;<a href="mailto:lsalzman1@cox.net">lsalzman1@cox.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Don&#39;t -I/usr/local/include/enet.<br>
<br>
Try -I/usr/local/include instead and prefix the include filenames with &quot;enet/&quot; when you use #include, i.e. #include &lt;enet/enet.h&gt; is the way you should be using it.<br>
<br>
Lee<br>
<br>
Andrew Fenn wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
No good, I forgot to mention that I get this error when I am trying to use enet. Could it be something to do with the fact that enet includes a file called &quot;time.h&quot; and gcc in confusing this with my system&#39;s time.h file? I have no idea where to go from here.<br>

<br></div><div><div></div><div class="Wj3C7c">
On Fri, Jul 4, 2008 at 3:59 AM, ismael &lt;<a href="mailto:ismael.bamba@laposte.net" target="_blank">ismael.bamba@laposte.net</a> &lt;mailto:<a href="mailto:ismael.bamba@laposte.net" target="_blank">ismael.bamba@laposte.net</a>&gt;&gt; wrote:<br>

<br>
 &nbsp; &nbsp;Andrew Fenn wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
 &nbsp; &nbsp;I am having this problem too, any solutions on how to get it<br>
 &nbsp; &nbsp;compiling? I&#39;m using Ubuntu with enet from cvs.<br>
<br>
 &nbsp; &nbsp;andrew@blackbox:~/Desktop/hardwar/trunk$ make<br>
 &nbsp; &nbsp;g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual<br>
 &nbsp; &nbsp;-Wcomment -Wcast-align -Wno-deprecated -fvisibility=hidden<br>
 &nbsp; &nbsp;-fvisibility-inlines-hidden -g -O -pthread -pipe -DFX<br>
 &nbsp; &nbsp;-D_GNU_SOURCE -DINVERSEXY `pkg-config OGRE --cflags` `pkg-config<br>
 &nbsp; &nbsp;CEGUI-OGRE --cflags` `pkg-config CEGUI --cflags` `pkg-config OIS<br>
 &nbsp; &nbsp;--cflags` &nbsp;-I./include -I./usr/include/boost/<br>
 &nbsp; &nbsp;-I/usr/local/include/enet/ src/GUIManager.cpp -o src/GUIManager.o<br>
 &nbsp; &nbsp;In file included from src/GUIManager.cpp:17:<br>
 &nbsp; &nbsp;./include/GUIManager.h:24: warning: ignoring #pragma warning<br>
 &nbsp; &nbsp;./include/GUIManager.h:25: warning: ignoring #pragma warning<br>
 &nbsp; &nbsp;In file included from src/GUIManager.cpp:17:<br>
 &nbsp; &nbsp;./include/GUIManager.h:38: warning: ignoring #pragma warning<br>
 &nbsp; &nbsp;In file included from /usr/include/c++/4.2/cwchar:52,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from /usr/include/c++/4.2/bits/postypes.h:46,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from /usr/include/c++/4.2/iosfwd:49,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from /usr/include/c++/4.2/bits/stl_algobase.h:70,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from /usr/include/c++/4.2/bits/char_traits.h:46,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from /usr/include/c++/4.2/string:47,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from /usr/local/include/CEGUI/CEGUIBase.h:87,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from /usr/local/include/CEGUI/CEGUI.h:34,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ./include/GUIManager.h:33,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from src/GUIManager.cpp:17:<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:66: error: &#39;::clock_t&#39; has not been<br>
 &nbsp; &nbsp;declared<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:67: error: &#39;::time_t&#39; has not been<br>
 &nbsp; &nbsp;declared<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:68: error: &#39;::tm&#39; has not been declared<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:70: error: &#39;::clock&#39; has not been declared<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:71: error: &#39;::difftime&#39; has not been<br>
 &nbsp; &nbsp;declared<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:72: error: &#39;::mktime&#39; has not been<br>
 &nbsp; &nbsp;declared<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:73: error: &#39;::time&#39; has not been declared<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:74: error: &#39;::asctime&#39; has not been<br>
 &nbsp; &nbsp;declared<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:75: error: &#39;::ctime&#39; has not been declared<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:76: error: &#39;::gmtime&#39; has not been<br>
 &nbsp; &nbsp;declared<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:77: error: &#39;::localtime&#39; has not been<br>
 &nbsp; &nbsp;declared<br>
 &nbsp; &nbsp;/usr/include/c++/4.2/ctime:78: error: &#39;::strftime&#39; has not been<br>
 &nbsp; &nbsp;declared<br>
 &nbsp; &nbsp;------------------------------------------------------------------------<br>
<br>
 &nbsp; &nbsp;_______________________________________________<br>
 &nbsp; &nbsp;ENet-discuss mailing list<br></div></div>
 &nbsp; &nbsp;<a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a> &lt;mailto:<a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a>&gt;<div class="Ih2E3d"><br>
 &nbsp; &nbsp;<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
 &nbsp; &nbsp; &nbsp;<br>
</div></blockquote><div class="Ih2E3d">
 &nbsp; &nbsp;Me &nbsp;think you got a cstd include missing somehow.give this a try:<br>
 &nbsp; &nbsp;#include&lt;cstd&gt;<br>
 &nbsp; &nbsp;using namespace cstd;<br>
<br>
 &nbsp; &nbsp;good luck mate!<br>
<br>
 &nbsp; &nbsp;_______________________________________________<br>
 &nbsp; &nbsp;ENet-discuss mailing list<br></div>
 &nbsp; &nbsp;<a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a> &lt;mailto:<a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a>&gt;<div class="Ih2E3d"><br>
 &nbsp; &nbsp;<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br>
<br></div>
------------------------------------------------------------------------<div class="Ih2E3d"><br>
<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>
 &nbsp;<br>
</div></blockquote><div><div></div><div class="Wj3C7c">
<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>