aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: I got a big problem about msvcprtd.lib and libcpmtd.lib  (Read 7536 times)

qinghuaking

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
I got a big problem about msvcprtd.lib and libcpmtd.lib
« on: April 13, 2009, 06:15:47 PM »

When i use VS2008 to compile amule. the msvcprtd.lib and libcpmtd.lib return a lot of error.like:
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class std::locale::facet * __thiscall std::locale::facet::_Decref(void)" (?_Decref@facet@locale@std@@QAEPAV123@XZ) already defined in cryptlib.lib(integer.obj)
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __thiscall std::allocator<char>::allocator<char>(void)" (??0?$allocator@D@std@@QAE@XZ) already defined in cryptlib.lib(rsa.obj)
libcpmtd.lib(locale0.obj) : error LNK2005: "public: static void __cdecl std::_Locinfo::_Locinfo_dtor(class std::_Locinfo *)" (?_Locinfo_dtor@_Locinfo@std@@SAXPAV12@@Z) already defined in msvcprtd.lib(MSVCP90D.dll)
libcpmtd.lib(ios.obj) : error LNK2005: "public: static void __cdecl std::ios_base::_Addstd(class std::ios_base *)" (?_Addstd@ios_base@std@@SAXPAV12@@Z) already defined in msvcprtd.lib(MSVCP90D.dll)
do you know how to solve it?Thanks a lot.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: I got a big problem about msvcprtd.lib and libcpmtd.lib
« Reply #1 on: April 13, 2009, 09:06:17 PM »

You have diferent /M settings in different projects.
Logged