Game Development Community

Help on turrets... link error

by Kirby Webber · in Torque Game Engine · 12/28/2005 (11:42 am) · 2 replies

I sat down bright and early this morning to integrate Paul Dana's turret resource.

I went through file by file, meticulously adding necessary code, doing quick compiles to test and generally, making any necessary changes to get everything to be "happy".

In all honesty, the most extensive changes needed (so far) were with regards to the writePacketData functions in vehicle.h & vehicle.cc - changed the return types from 'bool' to 'void'.

After all this labor, I'm down to one, show stopping error:

trigger.obj : error LNK2001: unresolved external symbol "public: void __thiscall Trigger::setOwner(class GameBase *)" (?setOwner@Trigger@@QAEXPAVGameBase@@@Z)

I have been combing the forums for advice, and have crawled through the build log, but I just don't see what the problem is, or how to fix it.

Anyone out there had this problem? Did you overcome it? If so, HOW?!

~ Thanks in advance for any help/ advice.

#1
12/28/2005 (11:48 am)
Nevermind....

Despite my 'thorough' searching (through the forums and the code), I had overlooked the fact that a fix for this exact problem had been posted in the original resource thread.

Off to play with turrets now. =)
#2
12/31/2005 (2:56 pm)
Thanks for the follow up! :)