Syntax error : identifier 'NetClassGroupGame'
by Seth "Pyratex" Creer · in Torque Game Engine · 06/19/2004 (3:05 pm) · 4 replies
Any idea why this would be happening? I have all include directories I need and am linking to the lib ok.
Here is my code up to the point that it errors out:
#include "tnl.h"
#include "tnlEventConnection.h"
#include "tnlNetInterface.h"
#include "tnlRPC.h"
#include
bool gQuit = false;
using namespace TNL;
class SimpleEventConnection : public EventConnection
{
typedef EventConnection Parent;
public:
TNL_DECLARE_NETCONNECTION(SimpleEventConnection);
TNL_DECLARE_RPC(rpcMessageClientToServer, (const char *theMessageString));
TNL_DECLARE_RPC(rpcMessageServerToClient, (const char *theMessageString));
};
TNL_IMPLEMENT_NET_CONNECTION(SimpleEventConnection, NetClassGroupGame, true);
There is where I get the Syntax error : identifier 'NetClassGroupGame'
Here is my code up to the point that it errors out:
#include "tnl.h"
#include "tnlEventConnection.h"
#include "tnlNetInterface.h"
#include "tnlRPC.h"
#include
bool gQuit = false;
using namespace TNL;
class SimpleEventConnection : public EventConnection
{
typedef EventConnection Parent;
public:
TNL_DECLARE_NETCONNECTION(SimpleEventConnection);
TNL_DECLARE_RPC(rpcMessageClientToServer, (const char *theMessageString));
TNL_DECLARE_RPC(rpcMessageServerToClient, (const char *theMessageString));
};
TNL_IMPLEMENT_NET_CONNECTION(SimpleEventConnection, NetClassGroupGame, true);
There is where I get the Syntax error : identifier 'NetClassGroupGame'
#2
06/20/2004 (8:14 am)
Yes up to that point. I'm just following the "Hello World" example so the rest looks like that.
#3
06/20/2004 (8:50 am)
BAH! Nevermind, after reviewing the list of lib's I was linking to I discovered I had missed one. Sorry about that.
#4
06/20/2004 (10:48 am)
Glad you got it fixed!
Associate Kyle Carter