** New Head Problem **
by Jackie Hayes · in Torque Game Engine · 08/04/2003 (6:36 pm) · 13 replies
I just downloaded the most recent HEAD and tried to compile it! TONS of errors :( This is the first time I have had these types of errors:
I had to stop compiling because of the errors! Has anybody tried to compile the most recent HEAD? 8/4/03
Thanks....
C:\torque\engine\console\simBase.cc(528) : error C2562: 'cSimObjectsetNamecaster' : 'void' function returning a value
C:\torque\engine\console\simBase.cc(528) : see declaration of 'cSimObjectsetNamecaster'
C:\torque\engine\console\simBase.cc(563) : error C2562: 'cSimObjectdeletecaster' : 'void' function returning a value
C:\torque\engine\console\simBase.cc(563) : see declaration of 'cSimObjectdeletecaster'
C:\torque\engine\console\simBase.cc(591) : error C2562: 'cSimObjectdumpcaster' : 'void' function returning a value
C:\torque\engine\console\simBase.cc(591) : see declaration of 'cSimObjectdumpcaster'
C:\torque\engine\console\simBase.cc(1227) : error C2562: 'cSimSetlistObjectscaster' : 'void' function returning a value
C:\torque\engine\console\simBase.cc(1227) : see declaration of 'cSimSetlistObjectscaster'
C:\torque\engine\console\simBase.cc(1246) : error C2562: 'cSimSetaddcaster' : 'void' function returning a value
C:\torque\engine\console\simBase.cc(1246) : see declaration of 'cSimSetaddcaster'
C:\torque\engine\console\simBase.cc(1259) : error C2562: 'cSimSetremovecaster' : 'void' function returning a value
C:\torque\engine\console\simBase.cc(1259) : see declaration of 'cSimSetremovecaster'
C:\torque\engine\console\simBase.cc(1272) : error C2562: 'cSimSetclearcaster' : 'void' function returning a value
C:\torque\engine\console\simBase.cc(1272) : see declaration of 'cSimSetclearcaster'
C:\torque\engine\console\simBase.cc(1315) : error C2562: 'cSimSetbringToFrontcaster' : 'void' function returning a value
C:\torque\engine\console\simBase.cc(1315) : see declaration of 'cSimSetbringToFrontcaster'
C:\torque\engine\console\simBase.cc(1324) : error C2562: 'cSimSetpushToBackcaster' : 'void' function returning a value
C:\torque\engine\console\simBase.cc(1324) : see declaration of 'cSimSetpushToBackcaster'I had to stop compiling because of the errors! Has anybody tried to compile the most recent HEAD? 8/4/03
Thanks....
#2
Any clue what I might be doing wrong?
08/04/2003 (7:29 pm)
I am using Visual Studio 6.0 SP5. My project options are:/nologo /ML /GR /O2 /I "../lib/directx8" /I "../lib/zlib" /I "../lib/lungif" /I "../lib/lpng" /I "../lib/ljpeg" /I "../lib/openal/win32" /I "../engine" /Fp"../engine/out.VC6.RELEASE/Torque Demo.pch" /YX /Fo"../engine/out.VC6.RELEASE/" /Fd"../engine/out.VC6.RELEASE/" /FD /c /Tp
Any clue what I might be doing wrong?
#3
08/04/2003 (7:39 pm)
It's probably related to a change in how console functions work. Is anyone else with that compiler experiencing a similar error?
#4
Thanks for the help..:)
08/04/2003 (7:43 pm)
Previous to this HEAD Version I only had one other small problem compiling in VS6 other than that everything else compiled fine.Thanks for the help..:)
#5
Same config : vc6 sp5 + processor pack, and I get those same void function returns a value error...
And tagDictionary.cc is still trying to compile itself in the vc6 project (that's a minor error compared to the sheer amount of the other one)
I thought vc6 was the official MS compile for Torque ? When did we move this to vc7 ? ;)
Any quick ideas on how to fix this Ben ? (tia)
Edit : killed my edit, as it added absolutely nothing whatsoever to this discussion. :)
08/04/2003 (8:14 pm)
Howdy Ben : 341 errors on HEAD freshly updated with your latest changes...Same config : vc6 sp5 + processor pack, and I get those same void function returns a value error...
And tagDictionary.cc is still trying to compile itself in the vc6 project (that's a minor error compared to the sheer amount of the other one)
I thought vc6 was the official MS compile for Torque ? When did we move this to vc7 ? ;)
Any quick ideas on how to fix this Ben ? (tia)
Edit : killed my edit, as it added absolutely nothing whatsoever to this discussion. :)
#6
08/04/2003 (10:40 pm)
Ben's fixing it right now...he's spoting madness and crazed pre-processor macro ideas.
#7
I believe it's fixed. I added some hackery which makes no return occur in the cases which make MSVC6 puke.
I'll discuss this with MarkTimRick tomorrow, but for now, what's in CVS should compile on MSVC6 and GCC2/3.
08/05/2003 (12:49 am)
Ok!I believe it's fixed. I added some hackery which makes no return occur in the cases which make MSVC6 puke.
I'll discuss this with MarkTimRick tomorrow, but for now, what's in CVS should compile on MSVC6 and GCC2/3.
#8
08/05/2003 (6:06 am)
Thanks Ben...I'll check it out and let you know.
#9
Is MarkTimRick some mad science project hidden in the closet at GG? only let out to fix madness and crazed pre-processor macro's?
;)
-Ron
08/05/2003 (6:23 am)
@Ben:Is MarkTimRick some mad science project hidden in the closet at GG? only let out to fix madness and crazed pre-processor macro's?
;)
-Ron
#10
Thanks....
08/05/2003 (6:45 am)
Except for the referances to tagDictionary everything compiled fine!Thanks....
#11
Just re-compiled and all seems fine : no warnings at all even, woot !! 8p
Bravo !!
Ben : Can you "beep" me when you get online ? I have a couple questions on changes you committed as they pertain to Clark's easy fixes from earlier this year.
Jackie : just delete the reference to tagDictionary.cc in your project : it's no used anywhere in the code, that 's why it was taken out.
08/05/2003 (7:34 am)
Ah, the pleasure of powering on computers in the morning to find that what kept you up chatting well into the EDT night with Ben is fixed !!! :)Just re-compiled and all seems fine : no warnings at all even, woot !! 8p
Bravo !!
Ben : Can you "beep" me when you get online ? I have a couple questions on changes you committed as they pertain to Clark's easy fixes from earlier this year.
Jackie : just delete the reference to tagDictionary.cc in your project : it's no used anywhere in the code, that 's why it was taken out.
#12
@Jackie: Yeah, tagDictionary has been superceded by other parts of the engine, is unused, and therefore removed. Get rid of the references in the project file. I'll try to get an updated project file commited sometime soon.
@Ron: MarkTimRick is a lumbering beast we keep in the computer room, darkened at all times so as not to evoke its rage. When annoying frustrations strike, we let it out and it does some violence to the questionable entity...
08/05/2003 (11:12 am)
@Nicolas: Done.@Jackie: Yeah, tagDictionary has been superceded by other parts of the engine, is unused, and therefore removed. Get rid of the references in the project file. I'll try to get an updated project file commited sometime soon.
@Ron: MarkTimRick is a lumbering beast we keep in the computer room, darkened at all times so as not to evoke its rage. When annoying frustrations strike, we let it out and it does some violence to the questionable entity...
#13
08/05/2003 (11:18 am)
Thanks Guys...I removed them when I recompiled this morning. Everything looks fine now. :)
Associate Ben Garney
The macro to define console functions/methods was reworked in the last checkin, and may be causing this problem...