This kind of error almost always arises from trying to link two 
libraries built with incompatible version of the WIndows run-time 
library. To debug it, I&#39;ll need at least the version of <span class="il">SYMPHONY</span> you are trying to build. It would also help to know the platform (32- or 64-bit, etc.).<br>
<br>Ted<br><br><div class="gmail_quote">On Wed, Jul 25, 2012 at 4:37 PM,  <span dir="ltr">&lt;<a href="mailto:VimalMathew@eaton.com" target="_blank">VimalMathew@eaton.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">How do I configure to use in a ‘Release’ build on Visual Studio 10.0?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">With the normal build, I’m getting a bunch of link errors:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">msvcprt.lib(MSVCP100.dll) : error LNK2005: &quot;void __cdecl std::_Xout_of_range(char const *)&quot; (?_Xout_of_range@std@@YAXPBD@Z) already defined in libcpmt.lib(xthrow.obj)<u></u><u></u></span></p>


<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">1&gt;msvcprt.lib(MSVCP100.dll) : error LNK2005: &quot;void __cdecl std::_Xlength_error(char const *)&quot; (?_Xlength_error@std@@YAXPBD@Z) already defined in libcpmt.lib(xthrow.obj)<u></u><u></u></span></p>


<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">1&gt;msvcprt.lib(MSVCP100.dll) : error LNK2005: &quot;public: class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp; __thiscall std::basic_ostream&lt;char,struct
 std::char_traits&lt;char&gt; &gt;::flush(void)&quot; (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ) already defined in Test.obj<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">1&gt;msvcprt.lib(MSVCP100.dll) : error LNK2005: &quot;public: void __thiscall std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt;::_Osfx(void)&quot; (?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ)
 already defined in Test.obj<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">These errors don’t appear till I link the Symphony include and library paths.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Vimal</span><span style="font-size:9.0pt;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>_______________________________________________<br>
Symphony mailing list<br>
<a href="mailto:Symphony@list.coin-or.org">Symphony@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/symphony" target="_blank">http://list.coin-or.org/mailman/listinfo/symphony</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br>(610) 628-1280<br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/%7Eted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>

<br>