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 / DarkAI & DarkLights co-existence?

Author
Message
Moops
14
Years of Service
User Offline
Joined: 19th Apr 2010
Location:
Posted: 22nd Apr 2010 02:03
Hey guys sorry for another call for help.

After working our my DarkPhysics problems I have decided I would now add DarkLights and DarkAI into the equation. It would appear that they don't seem to like each other.

Small snippet of code


My build log
1>------ Build started: Project: 3DMoops, Configuration: Debug Win32 ------
1>Compiling...
1>Main.cpp
1>Linking...
1>DarkPhysics.lib(EngineSetup.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
1>DarkAI.lib(DarkAI.obj) : error LNK2005: "char * errStr" (?errStr@@3PADA) already defined in DarkLights.lib(LightMapper.obj)
1>DarkAI.lib(DarkAI.obj) : error LNK2005: "struct sObject * (__cdecl* g_GetObject)(int)" (?g_GetObject@@3P6APAUsObject@@H@ZA) already defined in DarkLights.lib(LightMapper.obj)
1>DarkAI.lib(DarkAI.obj) : error LNK2005: "int (__cdecl* g_ObjectExist)(int)" (?g_ObjectExist@@3P6AHH@ZA) already defined in DarkLights.lib(LightMapper.obj)
1>DarkAI.lib(DarkAI.obj) : error LNK2005: "void (__cdecl* g_PositionObject)(int,float,float,float)" (?g_PositionObject@@3P6AXHMMM@ZA) already defined in DarkLights.lib(LightMapper.obj)
1>DarkAI.lib(DarkAI.obj) : error LNK2005: "bool (__cdecl* g_CalcObjectWorld)(struct sObject *)" (?g_CalcObjectWorld@@3P6A_NPAUsObject@@@ZA) already defined in DarkLights.lib(LightMapper.obj)
1>DarkAI.lib(DarkAI.obj) : 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)
1>DarkAI.lib(DarkAI.obj) : error LNK2005: "void __cdecl InvalidPointer(void)" (?InvalidPointer@@YAXXZ) already defined in DarkLights.lib(LightMapper.obj)
1>Debug\3DMoops.exe : fatal error LNK1169: one or more multiply defined symbols found
1>Build log was saved at "file://c:\Users\Den\Documents\Visual Studio 2008\Projects\3DMoops\3DMoops\Debug\BuildLog.htm"
1>3DMoops - 8 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

After the trouble I had understanding explicit library linking for these plugsin am I missing something here?

I have already removed Sparkys collision library as this also had trouble with DarkLights same as above, im not too worried about Sparky's right since I bought DarkPhysics I may as well use this and hope they work with other plugs.

Any help appreciated.

Login to post a reply

Server time is: 2024-11-24 15:38:50
Your offset time is: 2024-11-24 15:38:50