[Symphony] Configuring Symphony for a Release build with VS 10.0

VimalMathew at Eaton.com VimalMathew at Eaton.com
Wed Jul 25 16:37:57 EDT 2012


Hi,

How do I configure to use in a 'Release' build on Visual Studio 10.0?
With the normal build, I'm getting a bunch of link errors:

msvcprt.lib(MSVCP100.dll) : error LNK2005: "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range at std@@YAXPBD at Z) already defined in libcpmt.lib(xthrow.obj)
1>msvcprt.lib(MSVCP100.dll) : error LNK2005: "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error at std@@YAXPBD at Z) already defined in libcpmt.lib(xthrow.obj)
1>msvcprt.lib(MSVCP100.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" (?flush@?$basic_ostream at DU?$char_traits at D@std@@@std@@QAEAAV12 at XZ) already defined in Test.obj
1>msvcprt.lib(MSVCP100.dll) : error LNK2005: "public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (?_Osfx@?$basic_ostream at DU?$char_traits at D@std@@@std@@QAEXXZ) already defined in Test.obj


These errors don't appear till I link the Symphony include and library paths.

Thanks,
Vimal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20120725/cb60ca68/attachment.html>


More information about the Symphony mailing list