Game Development Community

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'

About the author

Recent Threads


#1
06/19/2004 (8:27 pm)
Hmm. That's pretty mysterious. Is that exactly how your code is laid out?
#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!