TGEA 1.7.1 release build fails in Visual Studio 2008
by Gordon Walton · in Torque Game Engine Advanced · 07/15/2008 (4:57 am) · 3 replies
When compiling my TGEA 1.7.1 release build solution in Visual Studio 2008, i get these errors and warnings with opcode. I have not been able to resolve this, it seems to be linking against opcode.lib. There are 23 warnings about locally defined symbols, and 15 unresolved externals. I can compile fine with Visual Studio 2003. Has anyone any suggestions?
1>tsMesh.obj : warning LNK4217: locally defined symbol ??1CollisionAABB@Opcode@@QAE@XZ (public: __thiscall Opcode::CollisionAABB::~CollisionAABB(void)) imported in function __unwindfunclet$?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z$0
1>tsMesh.obj : warning LNK4217: locally defined symbol ??1Point@IceMaths@@QAE@XZ (public: __thiscall IceMaths::Point::~Point(void)) imported in function __unwindfunclet$?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z$0
1>tsMesh.obj : warning LNK4217: locally defined symbol ??1AABB@IceMaths@@QAE@XZ (public: __thiscall IceMaths::AABB::~AABB(void)) imported in function __unwindfunclet$?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z$0
1>tsMesh.obj : warning LNK4217: locally defined symbol ?SetMinMax@AABB@IceMaths@@QAEXABVPoint@2@0@Z (public: void __thiscall IceMaths::AABB::SetMinMax(class IceMaths::Point const &,class IceMaths::Point const &)) imported in function "public: virtual bool __thiscall TSMesh::buildPolyListOpcode(int,class AbstractPolyList *,class Box3F const &)" (?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z)
1>tsMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall Opcode::AABBCache::~AABBCache(void)" (__imp_??1AABBCache@Opcode@@QAE@XZ) referenced in function __unwindfunclet$?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z$0
1>tsMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Opcode::AABBCollider::~AABBCollider(void)" (__imp_??1AABBCollider@Opcode@@UAE@XZ) referenced in function "public: virtual bool __thiscall TSMesh::buildPolyListOpcode(int,class AbstractPolyList *,class Box3F const &)" (?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z)
1>tsMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall IceCore::OPC_Container::~OPC_Container(void)" (__imp_??1OPC_Container@IceCore@@QAE@XZ) referenced in function "public: virtual bool __thiscall TSMesh::buildPolyListOpcode(int,class AbstractPolyList *,class Box3F const &)" (?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z)
1>tsMesh.obj : warning LNK4217: locally defined symbol ??1CollisionAABB@Opcode@@QAE@XZ (public: __thiscall Opcode::CollisionAABB::~CollisionAABB(void)) imported in function __unwindfunclet$?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z$0
1>tsMesh.obj : warning LNK4217: locally defined symbol ??1Point@IceMaths@@QAE@XZ (public: __thiscall IceMaths::Point::~Point(void)) imported in function __unwindfunclet$?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z$0
1>tsMesh.obj : warning LNK4217: locally defined symbol ??1AABB@IceMaths@@QAE@XZ (public: __thiscall IceMaths::AABB::~AABB(void)) imported in function __unwindfunclet$?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z$0
1>tsMesh.obj : warning LNK4217: locally defined symbol ?SetMinMax@AABB@IceMaths@@QAEXABVPoint@2@0@Z (public: void __thiscall IceMaths::AABB::SetMinMax(class IceMaths::Point const &,class IceMaths::Point const &)) imported in function "public: virtual bool __thiscall TSMesh::buildPolyListOpcode(int,class AbstractPolyList *,class Box3F const &)" (?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z)
1>tsMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall Opcode::AABBCache::~AABBCache(void)" (__imp_??1AABBCache@Opcode@@QAE@XZ) referenced in function __unwindfunclet$?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z$0
1>tsMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Opcode::AABBCollider::~AABBCollider(void)" (__imp_??1AABBCollider@Opcode@@UAE@XZ) referenced in function "public: virtual bool __thiscall TSMesh::buildPolyListOpcode(int,class AbstractPolyList *,class Box3F const &)" (?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z)
1>tsMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall IceCore::OPC_Container::~OPC_Container(void)" (__imp_??1OPC_Container@IceCore@@QAE@XZ) referenced in function "public: virtual bool __thiscall TSMesh::buildPolyListOpcode(int,class AbstractPolyList *,class Box3F const &)" (?buildPolyListOpcode@TSMesh@@UAE_NHPAVAbstractPolyList@@ABVBox3F@@@Z)
About the author
#2
07/17/2008 (1:06 pm)
Very strange. I've compiled it in 2008 Express and Professional. I have not tried Team Edition. Have you tried a clean compile?
#3
07/20/2008 (8:48 am)
I haven't modified the project options in any way, and i am using 2008 express. My only changes have been code that i've added to the project. Still baffled by it!
Associate Jaimi McEntire
King of Flapjacks