Game Development Community

Help explain error message: vc7

by Thomas Shaw · in Torque Game Engine · 07/05/2006 (3:25 pm) · 1 replies

Hello. I am fairly Newbish when it comes to compiling and using vc7; if I had an R2 unit i would jam a hologram in him and send him in search of help, but alas, an r2 unit I do not have.

I need help deciphering what the following errors mean:

////////////////////////////////////////////////////////////////////////////////////////////////////////////
Torque Demo error LNK2005: "public: virtual void __thiscall ShapeBase::renderShadow(float,float)" (?renderShadow@ShapeBase@@UAEXMM@Z) already defined in shapeBase.obj

Torque Demo fatal error LNK1169: one or more multiply defined symbols found
///////////////////////////////////////////////////////////////////////////////////////////////////////////

I am trying to integrate the Melee resource tutorial into a build of TGE1.4 that has the drl/cg water resource already added.

the error is either coming from shapebase.cc, shapebase.h, or shapimage.cc ...... at least I think so.

The msdn library says that the LNK1169 error is the direct result of a previous LNK2005 error....

what it all means, I do not know.

#1
07/05/2006 (3:28 pm)
From my experience, it's an issue with a function defined in a .h file, but not in the .cc file.
Try confirming that the function exists where it's supposed to.