I've been working on AI for my game but when I attempt to include Dark Lights I get this:
DarkLights.lib(LightMapper.obj) : error LNK2005: "void __cdecl InvalidPointer(void)" (?InvalidPointer@@YAXXZ) already defined in DarkAI.lib(DarkAI.obj)
DarkLights.lib(LightMapper.obj) : error LNK2005: "char * errStr" (?errStr@@3PADA) already defined in DarkAI.lib(DarkAI.obj)
DarkLights.lib(LightMapper.obj) : error LNK2005: "struct sObject * (__cdecl* g_GetObject)(int)" (?g_GetObject@@3P6APAUsObject@@H@ZA) already defined in DarkAI.lib(DarkAI.obj)
DarkLights.lib(LightMapper.obj) : error LNK2005: "int (__cdecl* g_ObjectExist)(int)" (?g_ObjectExist@@3P6AHH@ZA) already defined in DarkAI.lib(DarkAI.obj)
DarkLights.lib(LightMapper.obj) : error LNK2005: "bool (__cdecl* g_CalcObjectWorld)(struct sObject *)" (?g_CalcObjectWorld@@3P6A_NPAUsObject@@@ZA) already defined in DarkAI.lib(DarkAI.obj)
DarkLights.lib(LightMapper.obj) : error LNK2005: "void (__cdecl* g_CalculateAbsoluteWorldMatrix)(struct sObject *,struct sFrame *,struct sMesh *)" (?g_CalculateAbsoluteWorldMatrix@@3P6AXPAUsObject@@PAUsFrame@@PAUsMesh@@@ZA) already defined in DarkAI.lib(DarkAI.obj)
DarkLights.lib(LightMapper.obj) : error LNK2005: "void (__cdecl* g_PositionObject)(int,float,float,float)" (?g_PositionObject@@3P6AXHMMM@ZA) already defined in DarkAI.lib(DarkAI.obj)
SC_Collision.lib(Object.obj) : error LNK2005: "public: __thiscall CollisionTree::CollisionTree(void)" (??0CollisionTree@@QAE@XZ) already defined in DarkLights.lib(CollisionTree.obj)
SC_Collision.lib(Object.obj) : error LNK2005: "public: __thiscall CollisionTree::~CollisionTree(void)" (??1CollisionTree@@QAE@XZ) already defined in DarkLights.lib(CollisionTree.obj)
SC_Collision.lib(TreeFace.obj) : error LNK2005: "public: __thiscall TreeNode::~TreeNode(void)" (??1TreeNode@@QAE@XZ) already defined in DarkLights.lib(TreeFace.obj)
Release\SW Zomies.exe : fatal error LNK1169: one or more multiply defined symbols found
Anyone else having this problem? + Any way to fix this?
~Foxx