Hello,
DarkLights and sparkys collision dont work together, I get the following error:
Error 38 fatal error LNK1169: one or more multiply defined symbols found c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\Debug\ChopperGame.exe 1
Error 29 error LNK2005: "void (__cdecl* g_ConvertLocalMeshToVertsOnly)(struct sMesh *)" (?g_ConvertLocalMeshToVertsOnly@@3P6AXPAUsMesh@@@ZA) already defined in DarkLights.lib(LightMapper.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 28 error LNK2005: "void (__cdecl* g_CalculateAbsoluteWorldMatrix)(struct sObject *,struct sFrame *,struct sMesh *)" (?g_CalculateAbsoluteWorldMatrix@@3P6AXPAUsObject@@PAUsFrame@@PAUsMesh@@@ZA) already defined in DarkLights.lib(LightMapper.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 26 error LNK2005: "struct sObject * (__cdecl* g_GetObject)(int)" (?g_GetObject@@3P6APAUsObject@@H@ZA) already defined in DarkLights.lib(LightMapper.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 37 error LNK2005: "public: void __thiscall TreeNode::buildTree(class TreeFace *,unsigned int,int)" (?buildTree@TreeNode@@QAEXPAVTreeFace@@IH@Z) already defined in DarkLights.lib(TreeFace.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 32 error LNK2005: "public: void __thiscall CollisionTree::makeCollisionObject(int,class TreeFace *)" (?makeCollisionObject@CollisionTree@@QAEXHPAVTreeFace@@@Z) already defined in DarkLights.lib(CollisionTree.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 35 error LNK2005: "public: bool __thiscall TreeFace::pointInPoly(class Point *)" (?pointInPoly@TreeFace@@QAE_NPAVPoint@@@Z) already defined in DarkLights.lib(LightMapper.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 36 error LNK2005: "public: __thiscall TreeNode::~TreeNode(void)" (??1TreeNode@@QAE@XZ) already defined in DarkLights.lib(TreeFace.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 25 error LNK2005: "public: __thiscall CollisionTree::CollisionTree(void)" (??0CollisionTree@@QAE@XZ) already defined in DarkLights.lib(CollisionTree.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 33 error LNK2005: "public: __thiscall CollisionTree::CollisionTree(void)" (??0CollisionTree@@QAE@XZ) already defined in DarkLights.lib(CollisionTree.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 34 error LNK2005: "public: __thiscall CollisionTree::~CollisionTree(void)" (??1CollisionTree@@QAE@XZ) already defined in DarkLights.lib(CollisionTree.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 31 error LNK2005: "bool bInitialised" (?bInitialised@@3_NA) already defined in DarkLights.lib(LightMapper.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 30 error LNK2005: "bool (__cdecl* g_GetFVFOffsetMap)(struct sMesh *,struct sOffsetMap *)" (?g_GetFVFOffsetMap@@3P6A_NPAUsMesh@@PAUsOffsetMap@@@ZA) already defined in DarkLights.lib(LightMapper.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Error 27 error LNK2005: "bool (__cdecl* g_CalcObjectWorld)(struct sObject *)" (?g_CalcObjectWorld@@3P6A_NPAUsObject@@@ZA) already defined in DarkLights.lib(LightMapper.obj) c:\Users\Alex\Documents\Visual Studio 2008\Projects\ChopperGame\SC_Collision.lib 1
Is there any way around this?
Thanks,
Alex