Game Development Community

Compile notes for linux user

by Tsuyoshi Abe · in Torque Game Engine · 08/27/2004 (8:50 am) · 3 replies

Just now, it seems that CVS tree(lastest) has TNL scope problems.
I modified the following sentences.
I doubt these are the best, but I could compile :)

o added config.o
master/Makefile:
OBJECTS_MASTER=\
main.o\
masterInterface.o\
config.o

o added TNL scope
tnl/tnlMethodDispatch.h:
- #define SAVE_PARAMS TNL_gBasePtr = (void *) ((TNL::U8 *) __builtin_frame_address(0) + 8);

test/client.c:
- class DedicatedServerLogConsumer : public TNL::LogConsumer{
- TNL::S32 port = 28999;
- TestGame* theGame = new TestGame(false, TNL::Address(TNL::IPProtocol, TNL::Address::Any, port),TNL::Address(localBroadcastAddress));

About the author

Recent Threads


#1
08/28/2004 (11:40 am)
I'll let Mark deal with this one. He's on vacation at the moment, so it'll get fixed in a few weeks.
#2
08/28/2004 (1:04 pm)
All right.
Additionally, I want to add another note with "Hellow World" tutorial.

** in main() **
newConnection->connect(theNetInterface, cmdAddress);
+ while(1) {
+ theNetInterface->checkIncomingPackets();
+ theNetInterface->processConnections();
+ if(newConnection->isEstablished())
+ break;
+ }
newConnection->rpcMessageClientToServer("Hello??");
*****************

On my linux system, these were needed.
#3
09/13/2004 (8:54 am)
Perfect now my problems solved too, thank you for pointing that out