Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / Dark Lights + Dark AI + Sparkys?

Author
Message
DrFoxx
14
Years of Service
User Offline
Joined: 12th Sep 2009
Location:
Posted: 17th May 2010 23:11
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
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 18th May 2010 00:21
have you added the darklights libs files like you did when to installed Dark AI

Dark Physics makes any hot drink go cold.
DrFoxx
14
Years of Service
User Offline
Joined: 12th Sep 2009
Location:
Posted: 18th May 2010 00:26
Yes, DarkLights.lib is included along with DarkAI.lib in the Additional Dependancies box.

~Foxx
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 18th May 2010 02:27
You'll have to ask on the GDK forum as I only know a little about how to use GDK and setting it up.

If you do find out how post the answer here then someone else will have the answer in two places.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-04-24 23:54:03
Your offset time is: 2024-04-24 23:54:03