CVS HEAD(2002/07/30) Compile Error
by James Urquhart · in Torque Game Engine · 07/30/2002 (5:28 am) · 14 replies
Whilst compiling the latest HEAD CVS, i get this error :
Anyone else getting this? (LINUX/GCC2/DEBUG)
Quote:
--> Compiling game/net/serverQuery.cc
game/net/serverQuery.cc:94: game/net/netDispatch.h: No such file or directory
make[1]: *** [out.GCC2.DEBUG/game/net/serverQuery.obj] Error 1
make: *** [default] Error 2
Anyone else getting this? (LINUX/GCC2/DEBUG)
About the author
#2
07/30/2002 (6:08 am)
Just thought Mark should know :D
#3
07/30/2002 (9:13 am)
I emailed mark about this already... hopefully it'll be fixed soon
#4
07/30/2002 (9:17 am)
actually i just checked my mail, it's fixed already
#5
07/30/2002 (6:42 pm)
I just grabbed the latest head 5 mins ago. this file 'netDispatch.h' is still missing
#6
How can it be fixed if there's not been any cvs activity since the last time i tried? :D
I hope this gets fixed in the cvs soon - though i recognise that mark is probably busy with other things at the moment.
07/31/2002 (5:05 am)
Yes..How can it be fixed if there's not been any cvs activity since the last time i tried? :D
I hope this gets fixed in the cvs soon - though i recognise that mark is probably busy with other things at the moment.
#7
I have no problems compiling with the latest HEAD. However, there were some script event handlers for GameConnection that aren't being called by netInterface yet.
-David
07/31/2002 (7:48 am)
According to Mark's CVS notes, game/net/netDispatch was removed and sim/netInterface was added to takes its place.I have no problems compiling with the latest HEAD. However, there were some script event handlers for GameConnection that aren't being called by netInterface yet.
-David
#8
Compiling...
serverQuery.cc
C:\torque\engine\game\net\serverQuery.cc(94) : fatal error C1083: Cannot open include file: 'game/net/netDispatch.h': No such file or directory
Error executing cl.exe.
torqueDemo_DEBUG.exe - 1 error(s), 0 warning(s)
A quick check revealed that in line 94 of serverQuesry.cc that a call is being made to netDispatch.h i.e. this is line 94 below
V V V
#include "game/net/netDispatch.h"
Commenting out line 94 (seems reasonable since it is supposed to now be gone) results in the following errors.
Compiling...
serverQuery.cc
C:\torque\engine\game\net\serverQuery.cc(401) : error C2065: 'MasterServerGameTypesRequest' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(818) : error C2065: 'GameHeartbeat' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1125) : error C2065: 'MasterServerListRequest' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1219) : error C2065: 'GamePingRequest' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1259) : error C2065: 'GameInfoRequest' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1550) : error C2065: 'GameMasterInfoResponse' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1618) : error C2065: 'GamePingResponse' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1625) : error C2065: 'CurrentProtocolVersion' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1626) : error C2065: 'MinRequiredProtocolVersion' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1805) : error C2065: 'GameInfoResponse' : undeclared identifier
Error executing cl.exe.
torqueDemo_DEBUG.exe - 10 error(s), 0 warning(s)
Hope that is specific enough. Note: your mileage with the Release version may vary considerably.
07/31/2002 (12:20 pm)
Compiling with VC6 in debug mode yields the following error:Compiling...
serverQuery.cc
C:\torque\engine\game\net\serverQuery.cc(94) : fatal error C1083: Cannot open include file: 'game/net/netDispatch.h': No such file or directory
Error executing cl.exe.
torqueDemo_DEBUG.exe - 1 error(s), 0 warning(s)
A quick check revealed that in line 94 of serverQuesry.cc that a call is being made to netDispatch.h i.e. this is line 94 below
V V V
#include "game/net/netDispatch.h"
Commenting out line 94 (seems reasonable since it is supposed to now be gone) results in the following errors.
Compiling...
serverQuery.cc
C:\torque\engine\game\net\serverQuery.cc(401) : error C2065: 'MasterServerGameTypesRequest' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(818) : error C2065: 'GameHeartbeat' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1125) : error C2065: 'MasterServerListRequest' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1219) : error C2065: 'GamePingRequest' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1259) : error C2065: 'GameInfoRequest' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1550) : error C2065: 'GameMasterInfoResponse' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1618) : error C2065: 'GamePingResponse' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1625) : error C2065: 'CurrentProtocolVersion' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1626) : error C2065: 'MinRequiredProtocolVersion' : undeclared identifier
C:\torque\engine\game\net\serverQuery.cc(1805) : error C2065: 'GameInfoResponse' : undeclared identifier
Error executing cl.exe.
torqueDemo_DEBUG.exe - 10 error(s), 0 warning(s)
Hope that is specific enough. Note: your mileage with the Release version may vary considerably.
#9
07/31/2002 (12:45 pm)
Thats the same error that i get when making a dummy header file in an attempt to replace it :D
#10
Since my project is called "Paintball Net.dsp" and not "Torque Demo.dsp", the CVS merge doesn't automatically update my project settings. So I have to add any new files by hand.
-David
07/31/2002 (1:02 pm)
Did you add the new sim/netInterface.cc to your project?Since my project is called "Paintball Net.dsp" and not "Torque Demo.dsp", the CVS merge doesn't automatically update my project settings. So I have to add any new files by hand.
-David
#11
Unfortunatly, i have no idea ATM...Its starting to get confusing :D
(BTW, if anyone didn't notice, i'm compiling on linux)
07/31/2002 (1:12 pm)
It'd be great if i knew what files were meant to be there, and which ones wern't...Unfortunatly, i have no idea ATM...Its starting to get confusing :D
(BTW, if anyone didn't notice, i'm compiling on linux)
#12
07/31/2002 (1:15 pm)
It was a good thought but sim/netInterface.h and .cc are both included in my project.
#13
07/31/2002 (3:47 pm)
Works perfect for me, and I grabbed my new cvs copy while I posted above.. and if you read the cvs changelog there's a change that sayd "Doh!" which adds those files.
#14
Changes 2296+2297 seem to have done the trick.
It now compiles.
08/01/2002 (4:31 am)
That change added the files, but in a different place =/Changes 2296+2297 seem to have done the trick.
It now compiles.
Torque Owner Ryan J. Parker
If you look at the CVS changelog you'll see that Mark checked in some net stuff last night. Looks like he missed something!