Squirrel

The programming language
Welcome to Squirrel Sign in | Join | Help
in Search

Linking Error

Last post 06-02-2009, 2:49 AM by MooJuice. 0 replies.
Sort Posts: Previous Next
  •  06-02-2009, 2:49 AM 3295

    Linking Error

    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&gt;msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __thiscall std::allocator&lt;char&gt;::allocator&lt;char&gt;(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

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems