The csutil.h master header has been corrected in the SVN repository. -- ES
On May 28, 2007, at 3:23 PM, Mathew Sutcliffe wrote: > It seems the header file csutil.h (and thus the master header file > crystalspace.h) don't #include "csutil/threading/thread.h". > > Can a dev say whether this should be the case? > > For now you could just add the include directive to simpmap yourself. > > Jim Sager wrote: >> I clicked on the first link and followed the instructions >> >> I added this code into simpmap after CS_IMPLEMENT_APPLICATION >> >> using namespace CS::Threading; //line 25 >> >> class MyRunner : Runnable //line 28 >> { >> void Run () >> { >> >> printf("1\n"); >> csSleep (1000); >> printf("2\n"); >> csSleep (1000); >> printf("3\n"); >> csSleep (1000); >> printf("4\n"); >> csSleep (1000); >> printf("5\n"); >> csSleep (1000); >> printf("6\n"); >> csSleep (1000); >> printf("7\n"); >> csSleep (1000); >> printf("8\n"); >> csSleep (1000); >> printf("9\n"); >> csSleep (1000); >> printf("10\n"); >> csSleep (1000); >> } >> }; >> >> When I compiled, I received the following errors: >> apps/tutorial/simpmap/simpmap.cpp:25: error: ‘Threading’ is not a >> namespace-name >> apps/tutorial/simpmap/simpmap.cpp:25: error: expected namespace-name >> before ‘;’ token >> apps/tutorial/simpmap/simpmap.cpp:28: error: expected class-name >> before >> ‘{’ token > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Crystal-main mailing list > Crystal-main@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/crystal-main > Unsubscribe: mailto:[EMAIL PROTECTED] > subject=unsubscribe ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Crystal-main mailing list Crystal-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]