[Osi] OSI with MSVC 2010 Express

Paul De La Musica paul.delamusica at gmail.com
Thu Jul 7 15:16:48 EDT 2011


Hi,

  I converted the *.sln files to MSVC 2010 (v10) Express. I got a lot
of LNK2005 messages.

  Anyone has luck on this platform?

Thanks,

Paul

  6>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char>
>::operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > & (__cdecl*)(class
std::basic_ostream<char,struct std::char_traits<char> > &))"
(??6?$basic_ostream at DU?$char_traits at D@std@@@std@@QAEAAV01 at P6AAAV01@AAV01@@Z at Z)
already defined in basic2.obj
6>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::endl(class std::basic_ostream<char,struct std::char_traits<char>
> &)" (?endl at std@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@1 at AAV21@@Z)
already defined in basic2.obj
6>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char>
>::operator<<(double)"
(??6?$basic_ostream at DU?$char_traits at D@std@@@std@@QAEAAV01 at N@Z) already
defined in basic2.obj
6>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "public: void
__thiscall std::_Container_base12::_Orphan_all(void)"
(?_Orphan_all at _Container_base12@std@@QAEXXZ) already defined in
basic2.obj
6>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "void __cdecl
std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)"
(?_Debug_message at std@@YAXPB_W0I at Z) already defined in
libcpmtd.lib(stdthrow.obj)
6>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "public: __thiscall
std::_Container_base12::~_Container_base12(void)"
(??1_Container_base12 at std@@QAE at XZ) already defined in basic2.obj
6>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "public: __thiscall
std::_Container_base12::_Container_base12(void)"
(??0_Container_base12 at std@@QAE at XZ) already defined in basic2.obj
6>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "void __cdecl
std::_Xlength_error(char const *)" (?_Xlength_error at std@@YAXPBD at Z)
already defined in libcpmtd.lib(xthrow.obj)
6>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::~_Lockit(void)" (??1_Lockit at std@@QAE at XZ) already defined
in libcpmtd.lib(xlock.obj)
6>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::_Lockit(int)" (??0_Lockit at std@@QAE at H@Z) already defined
in libcpmtd.lib(xlock.obj)
6>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "void __cdecl
std::_Xout_of_range(char const *)" (?_Xout_of_range at std@@YAXPBD at Z)
already defined in libcpmtd.lib(xthrow.obj)
6>




More information about the Osi mailing list