[Osi] OSI with MSVC 2010 Express

Ted Ralphs ted at lehigh.edu
Thu Jul 7 16:02:34 EDT 2011


The trunk and latest stable of version of Osi (0.105) have associated
version 10 solution files that work in 2010 Express. We have not yet
pushed out a release from the most recent stable version of Osi, but
that should happen soon,

Cheers,

Ted

On Thu, Jul 7, 2011 at 3:16 PM, Paul De La Musica
<paul.delamusica at gmail.com> wrote:
> 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>
>
> _______________________________________________
> Osi mailing list
> Osi at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/osi
>



-- 
Dr. Ted Ralphs
Associate Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted





More information about the Osi mailing list