We didn't check our tools again! Things go crash...
by David Dougher · in Torque Game Engine · 04/05/2002 (4:54 am) · 6 replies
One error and one warning that need attention in the latest HEAD version.
First the warning....
netGhost.cc
C:\torque\engine\sim\netGhost.cc(16) : warning C4005: 'DebugChecksum' : macro redefinition
c:\torque\engine\sim\netevent.cc(0) : see previous definition of 'DebugChecksum'
And now the error. OK Guys, lets not forget to check our tools before we put everything away! (e.g. Make sure we don't break the tools by forgetting to include something when we make our changes :^)
ps. I have included every link error for completeness. Last time we spent a couple extra days going around because of a miscommunication about how many things were broken.
Linking...
engine.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/buildWad.exe : fatal error LNK1120: 1 unresolved externals
Linking...
engine_DEBUG.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/buildWad_DEBUG.exe : fatal error LNK1120: 1 unresolved externals
Linking...
engine.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/map2dif.exe : fatal error LNK1120: 1 unresolved externals
Linking...
engine_DEBUG.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/map2dif_DEBUG.exe : fatal error LNK1120: 1 unresolved externals
Linking...
engine.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/texture2bm8.exe : fatal error LNK1120: 1 unresolved externals
Linking...
engine_DEBUG.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/texture2bm8_DEBUG.exe : fatal error LNK1120: 1 unresolved externals
First the warning....
netGhost.cc
C:\torque\engine\sim\netGhost.cc(16) : warning C4005: 'DebugChecksum' : macro redefinition
c:\torque\engine\sim\netevent.cc(0) : see previous definition of 'DebugChecksum'
And now the error. OK Guys, lets not forget to check our tools before we put everything away! (e.g. Make sure we don't break the tools by forgetting to include something when we make our changes :^)
ps. I have included every link error for completeness. Last time we spent a couple extra days going around because of a miscommunication about how many things were broken.
Linking...
engine.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/buildWad.exe : fatal error LNK1120: 1 unresolved externals
Linking...
engine_DEBUG.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/buildWad_DEBUG.exe : fatal error LNK1120: 1 unresolved externals
Linking...
engine.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/map2dif.exe : fatal error LNK1120: 1 unresolved externals
Linking...
engine_DEBUG.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/map2dif_DEBUG.exe : fatal error LNK1120: 1 unresolved externals
Linking...
engine.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/texture2bm8.exe : fatal error LNK1120: 1 unresolved externals
Linking...
engine_DEBUG.lib(netGhost.obj) : error LNK2001: unresolved external symbol "public: void __thiscall NetConnection::sendNextFileDownloadRequest(void)" (?sendNextFileDownloadRequest@NetConnection@@QAEXXZ)
../tools/texture2bm8_DEBUG.exe : fatal error LNK1120: 1 unresolved externals
About the author
Owner - Pariah Games, Adjunct Professor - Bristol Community College, Mentor - Game Design - Met School Newport, Mentor - Game Design - Met School Providence
#2
04/05/2002 (8:44 am)
Oops... when I checked in fix for the VC6 project, I did forget to check the tools. Fix is in now.
#3
What was the reason for redefining the DebugChecksum macro/variable? It is initially defined in ..
C:\torque\engine\sim\netEvent.cc line 14
and then it is later redefined in
C:\torque\engine\sim\netGhost.cc line 16
Should one of them be renamed? Even if it's only to remove the warning message?
04/05/2002 (9:38 am)
OK. I've begun recompiling the fixes. While that is happening I'll ask the question...What was the reason for redefining the DebugChecksum macro/variable? It is initially defined in ..
C:\torque\engine\sim\netEvent.cc line 14
and then it is later redefined in
C:\torque\engine\sim\netGhost.cc line 16
Should one of them be renamed? Even if it's only to remove the warning message?
#4
as everyone was telling me this was fixed already. It
drove me nuts trying to build the head version the other night.
Randy...
04/05/2002 (9:48 am)
I am glad this was posted. I thought I was going insaneas everyone was telling me this was fixed already. It
drove me nuts trying to build the head version the other night.
Randy...
#5
04/05/2002 (10:04 am)
OK, all modules now compile successfully. Except for an answer on the DebugChecksum macro redefinition I'm a happy camper.
#6
The numbers really don't matter that much, so I made them the same for now. It's wierd that your compiler complains about them. Are you using VC7?
04/05/2002 (10:46 am)
They are different checksum numbers, used for different things. Why are you getting a warning on those? They are defines local to each module. The numbers really don't matter that much, so I made them the same for now. It's wierd that your compiler complains about them. Are you using VC7?
Associate Melv May
The linker errors were resolved here www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=4404 but I thought they would of made it to the [HEAD] already.
Obviously not.