typeInfo / ClassRep linker errors
by Robert Fritzen · in Torque 3D Professional · 03/25/2014 (10:35 am) · 3 replies
So, I'm currently working on a couple of addons for an individual who tasked me with re-introducing the T2 Projectile types. I got the old laser resource ported to T3D and compiled to my liking, except for these little errors:
LaserProjectile bases from Projectile, and LaserProjectileData from ProjectileData respectively. Any ideas as to what's going on here?
1>laserProjectile.obj : error LNK2001: unresolved external symbol "private: virtual class EngineTypeInfo const * __thiscall LaserProjectile::__typeinfo(void)const " (?__typeinfo@LaserProjectile@@EBEPBVEngineTypeInfo@@XZ) 1>laserProjectile.obj : error LNK2001: unresolved external symbol "public: virtual class AbstractClassRep * __thiscall LaserProjectile::getClassRep(void)const " (?getClassRep@LaserProjectile@@UBEPAVAbstractClassRep@@XZ) 1>laserProjectile.obj : error LNK2001: unresolved external symbol "private: virtual class EngineTypeInfo const * __thiscall LaserProjectileData::__typeinfo(void)const " (?__typeinfo@LaserProjectileData@@EBEPBVEngineTypeInfo@@XZ) 1>laserProjectile.obj : error LNK2001: unresolved external symbol "public: virtual class AbstractClassRep * __thiscall LaserProjectileData::getClassRep(void)const " (?getClassRep@LaserProjectileData@@UBEPAVAbstractClassRep@@XZ)
LaserProjectile bases from Projectile, and LaserProjectileData from ProjectileData respectively. Any ideas as to what's going on here?
About the author
Illinois Grad. Retired T3D Developer / Pack Dev.
#2
03/25/2014 (3:48 pm)
Robert, Good to see you have not 'vanished!' (Yes, I read your past posts so this is 'sort of' a 'I am kidding' thing) :-) (JUST WHEN I THINK I AM OUT! THEY PULL ME BACK IN!!!...LOL)
#3
I wouldn't "leave" this community anyways, I've learned so much from you guys and you've given me the motivation and experience to actually want to take the challenge of making my own engine on.
03/25/2014 (5:22 pm)
A little chuckle came out of that. Alas, what I meant in my blog was I'm done "developing" on T3D, IE: no more game projects or major implements out of me. I'm only doing project related addons for those who need it. TBH: I wasn't even expecting this call to come in for me to do this work, but seeing as it came from a developer in my game dev. group/company, I wouldn't turn that offer down.I wouldn't "leave" this community anyways, I've learned so much from you guys and you've given me the motivation and experience to actually want to take the challenge of making my own engine on.
Torque Owner Robert Fritzen
Phantom Games Development
The problem was I forgot to declare the following: