Hi guys,
I originally posted this in the Ogre forums:
(Last couple of posts in this thread: http://www.ogre3d.org/forums/viewtopic.php?f=5&t=15768&start=75).
Essentially, I get this error message:
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __thiscall std::allocator<char>::allocator<char>(void)" (<A href="mailto:??0?$allocator@D@std@@QAE@XZ">??0?$allocator@D@std@@QAE@XZ</A>) already defined in sqplusD.lib(SquirrelVM.obj)
I built the debug/release squirrel source successfully (to statically link)
My project's DLL is Multi-threaded Debug DLL, and Multi-threaded Release DLL.
Release links just fine, it's just the debug version that does not.
Am I doing something retarded?
This is what I link against:
DEBUG:
OgreMain_d.lib
OIS_d.lib
common_d.lib (mine)
MyGUI_d.lib
squirrelD.lib
sqstdlibD.lib
sqplusD.lib
RELEASE:
OgreMain.lib
OIS.lib
common.lib (mine)
MyGUI.lib
squirrel.lib
sqstdlib.lib
sqplus.lib
Anyone got any ideas? THanks in advance