Problem compiling HEAD of Realm Wars...
by Antonio "Tony" Farinetti · in Torque Game Engine · 03/20/2004 (7:35 pm) · 5 replies
I wasn't sure if this was the correct forum to post this in, but I am currently getting tons of errors attempting to compile the HEAD version (as of 3/20/04 at about 10:15 pm) of the Realm Wars version of the TGE.
I am using Vc7.0 (2003), and am getting these kinds of errors:
Torque Demo error LNK2019: unresolved external symbol "public: virtual void __thiscall CatmullRomPatch::submitControlPoints(class SplCtrlPts &)" (?submitControlPoints@CatmullRomPatch@@UAEXAAVSplCtrlPts@@@Z) referenced in function "public: void __thiscall MotionTrail::renderTrail(int,int)" (?renderTrail@MotionTrail@@QAEXHH@Z)
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(233): error C2660: 'AbstractClassRep::getClassCRC' : function does not take 0 parameters
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(233): error C2514: 'U32' : class has no constructors
../engine\platform\types.h(20) : see declaration of 'U32'
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(276): error C2660: 'AbstractClassRep::getClassCRC' : function does not take 0 parameters
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(516): error C2039: 'getSequences' : is not a member of 'NetConnection'
../engine\sim\netConnection.h(370) : see declaration of 'NetConnection'
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(578): error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(585): error C2039: 'setSequences' : is not a member of 'GameConnection'
../engine\game\gameConnection.h(40) : see declaration of 'GameConnection'
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(605): error C2039: 'getSequences' : is not a member of 'NetConnection'
../engine\sim\netConnection.h(370) : see declaration of 'NetConnection'
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(640): error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(642): error C2039: 'setServerConnection' : is not a member of 'NetConnection'
../engine\sim\netConnection.h(370) : see declaration of 'NetConnection'
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(642): error C2065: 'setServerConnection' : undeclared identifier
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(645): error C2039: 'setSequences' : is not a member of 'GameConnection'
../engine\game\gameConnection.h(40) : see declaration of 'GameConnection'
[These aren't all of the errors, most of them were trimmed do to post size limitations]
I am a very experienced c++/c programmer, but with the length of TGE I would have no idea where to start to fix these... Anyone else having the same problem, or know a possible cause to it? Or maybe even a solution?
Thanks!
I am using Vc7.0 (2003), and am getting these kinds of errors:
Torque Demo error LNK2019: unresolved external symbol "public: virtual void __thiscall CatmullRomPatch::submitControlPoints(class SplCtrlPts &)" (?submitControlPoints@CatmullRomPatch@@UAEXAAVSplCtrlPts@@@Z) referenced in function "public: void __thiscall MotionTrail::renderTrail(int,int)" (?renderTrail@MotionTrail@@QAEXHH@Z)
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(233): error C2660: 'AbstractClassRep::getClassCRC' : function does not take 0 parameters
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(233): error C2514: 'U32' : class has no constructors
../engine\platform\types.h(20) : see declaration of 'U32'
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(276): error C2660: 'AbstractClassRep::getClassCRC' : function does not take 0 parameters
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(516): error C2039: 'getSequences' : is not a member of 'NetConnection'
../engine\sim\netConnection.h(370) : see declaration of 'NetConnection'
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(578): error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(585): error C2039: 'setSequences' : is not a member of 'GameConnection'
../engine\game\gameConnection.h(40) : see declaration of 'GameConnection'
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(605): error C2039: 'getSequences' : is not a member of 'NetConnection'
../engine\sim\netConnection.h(370) : see declaration of 'NetConnection'
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(640): error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(642): error C2039: 'setServerConnection' : is not a member of 'NetConnection'
../engine\sim\netConnection.h(370) : see declaration of 'NetConnection'
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(642): error C2065: 'setServerConnection' : undeclared identifier
f:\GameDevelopment\Torque\torque-rw-ds\realmwars\engine\game\net\netDispatch.cc(645): error C2039: 'setSequences' : is not a member of 'GameConnection'
../engine\game\gameConnection.h(40) : see declaration of 'GameConnection'
[These aren't all of the errors, most of them were trimmed do to post size limitations]
I am a very experienced c++/c programmer, but with the length of TGE I would have no idea where to start to fix these... Anyone else having the same problem, or know a possible cause to it? Or maybe even a solution?
Thanks!
About the author
#2
Add /game/cameraSpline.cc/h
Remove /game/fx/fxLightDB.cc/h
Add /interior/pathedInterior.cc/h
I think that was it.
03/22/2004 (1:08 am)
Add /math/mCatmullRomPatch.cc/hAdd /game/cameraSpline.cc/h
Remove /game/fx/fxLightDB.cc/h
Add /interior/pathedInterior.cc/h
I think that was it.
#4
03/22/2004 (9:42 am)
Thanks guys, your great! I didn't post this to the realm wars forum because it involved source and I figured this was the best place.
#5
I just updated the CVS with the .dsp from Chris.
So this should be fixed in the current HEAD, too.
-- Markus
03/22/2004 (10:08 am)
Glad to hear this.I just updated the CVS with the .dsp from Chris.
So this should be fixed in the current HEAD, too.
-- Markus
Torque Owner Markus Nuebel
This question is better posted in the RealmWars forum.
RealmWars Head has been updated to the latest 1_2_1 Release of torque.
This means , that some files have been added and some have been removed.
RW does not maintain a VC7 project workspace and the VC6 workspace hasn't been updated.
You are required to add the new files to your workspace manually.
By heart I rembember the following changes:
- Add /math/CatmullRomPatch.cc to your workspace
- Remove game/fx/fxLightDB.cc/.h from your project
If you encounter additional unresolved external messages, check, if there is a new .cc file, that may match the name given in the error message and add it to your workspace.
If you get other errors, that you may not be able to resolve, post up in the RealWars forum and we take care of it.
-- Markus