I keep getting the following weird compilation error
Linking...
DarkPhysics.lib(RigidBodyCharacterController.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
terrain.lib(Basic.obj) : error LNK2005: "void (__cdecl* g_DeleteObject)(int)" (?g_DeleteObject@@3P6AXH@ZA) already defined in DarkAI.lib(DarkAI.obj)
Creating library DebugBotWars.lib and object DebugBotWars.exp
DebugBotWars.exe : fatal error LNK1169: one or more multiply defined symbols found
It doesn't happen on the examples only when I try and use dark physics and dark AI in the same project.
Sorry if this is a really nooby problem
EDIT: I narrowed it down to only when I use a terrain is in a scene (even if I dont use physics with the terrain)