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 class="gmail_quote">On Fri, Jul 4, 2008 at 3:59 AM, ismael &lt;<a href="mailto:ismael.bamba@laposte.net">ismael.bamba@laposte.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;">



  

<div bgcolor="#ffffff" text="#000000">
Andrew Fenn wrote:
<blockquote cite="http://midb594ca9d0807030105m40bfb110u42ae54c4c7cca3a3@mail.gmail.com" type="cite"><div><div></div><div class="Wj3C7c">I am having this problem too, any solutions on how to get
it compiling? I&#39;m using Ubuntu with enet from cvs.<br>
  <br>
andrew@blackbox:~/Desktop/hardwar/trunk$ make<br>
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment
-Wcast-align -Wno-deprecated -fvisibility=hidden
-fvisibility-inlines-hidden -g -O -pthread -pipe -DFX -D_GNU_SOURCE
-DINVERSEXY `pkg-config OGRE --cflags` `pkg-config CEGUI-OGRE --cflags`
`pkg-config CEGUI --cflags` `pkg-config OIS --cflags`&nbsp; -I./include
-I./usr/include/boost/ -I/usr/local/include/enet/ src/GUIManager.cpp -o
src/GUIManager.o<br>
In file included from src/GUIManager.cpp:17:<br>
./include/GUIManager.h:24: warning: ignoring #pragma warning <br>
./include/GUIManager.h:25: warning: ignoring #pragma warning <br>
In file included from src/GUIManager.cpp:17:<br>
./include/GUIManager.h:38: warning: ignoring #pragma warning <br>
In file included from /usr/include/c++/4.2/cwchar:52,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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;&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;&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;&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;&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;&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;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ./include/GUIManager.h:33,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from src/GUIManager.cpp:17:<br>
/usr/include/c++/4.2/ctime:66: error: &#39;::clock_t&#39; has not been declared<br>
/usr/include/c++/4.2/ctime:67: error: &#39;::time_t&#39; has not been declared<br>
/usr/include/c++/4.2/ctime:68: error: &#39;::tm&#39; has not been declared<br>
/usr/include/c++/4.2/ctime:70: error: &#39;::clock&#39; has not been declared<br>
/usr/include/c++/4.2/ctime:71: error: &#39;::difftime&#39; has not been declared<br>
/usr/include/c++/4.2/ctime:72: error: &#39;::mktime&#39; has not been declared<br>
/usr/include/c++/4.2/ctime:73: error: &#39;::time&#39; has not been declared<br>
/usr/include/c++/4.2/ctime:74: error: &#39;::asctime&#39; has not been declared<br>
/usr/include/c++/4.2/ctime:75: error: &#39;::ctime&#39; has not been declared<br>
/usr/include/c++/4.2/ctime:76: error: &#39;::gmtime&#39; has not been declared<br>
/usr/include/c++/4.2/ctime:77: error: &#39;::localtime&#39; has not been
declared<br>
/usr/include/c++/4.2/ctime:78: error: &#39;::strftime&#39; has not been declared<br>
  </div></div><pre><hr size="4" width="90%">
_______________________________________________
ENet-discuss mailing list
<a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a>
  </pre>
</blockquote>
Me&nbsp; think you got a cstd include missing somehow.give this a try: <br>
#include&lt;cstd&gt;<br>
using namespace cstd;<br>
<br>
good luck mate!<br>
</div>

<br>_______________________________________________<br>
ENet-discuss mailing list<br>
<a 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>
<br></blockquote></div><br>