Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Using Box2D  (Read 2050 times)

0 Members and 1 Guest are viewing this topic.

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
Using Box2D
« on: March 01, 2010, 09:45:46 pm »
I'm trying to use SFML2 and Box2D together, but when I link my program VS2008 gives this:
Quote
1>Vinculando...
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: ya se definió "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPB_W0I@Z) en libcpmtd.lib(stdthrow.obj)
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: ya se definió __wassert en LIBCMTD.lib(wassert.obj)
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: ya se definió __finite en LIBCMTD.lib(_ieeemisc_.obj)
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: ya se definió _memmove en LIBCMTD.lib(memmove.obj)
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: ya se definió _malloc en LIBCMTD.lib(dbgmalloc.obj)
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: ya se definió _free en LIBCMTD.lib(dbgfree.obj)
1>MSVCRTD.lib(ti_inst.obj) : error LNK2005: ya se definió "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) en LIBCMTD.lib(typinfo.obj)
1>MSVCRTD.lib(ti_inst.obj) : error LNK2005: ya se definió "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) en LIBCMTD.lib(typinfo.obj)


Looks like SFML2 and Box2D links to libcmtd or libcmt... what should I do? Thanks.