<div> </div>
<div>When I am making FlopCpp example on cygwin, I get an error for _isnan but I can compile them using the following command line:</div>
<div> </div>
<div>
<div>g++ -mno-cygwin xbsl.cpp -o xbsl -I../../include -L../../lib -Wl,-rpath,../../lib -lFlopCpp </div>
<div>-lOsiCbc -lCbc -lOsiClp -lClp -lCgl -lOsi -lCoinUtils</div></div>
<div> </div>
<div>I just changed the make file to produce the following command but I get lot of errors!</div>
<div> </div>
<div>
<div>g++ -g -I../../include -L../../lib -Wl,-rpath,../../lib -lFlopCpp -lOsiCbc -lCbc -lOsiClp -lClp -lCgl </div>
<div>-lOsi -lCoinUtils -mno-cygwin xbsl.cpp -o xbsl<br> </div>
<div>Can someone tell whats the problem here...</div>
<div> </div>
<div>I guess "_isnan" thing is taken care of by "-mno-cygwin" but here something else (perhaps the order) is wrong.</div>
<div> </div></div>
<div>regards,</div>
<div>vishy</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 2/19/07, <b class="gmail_sendername">Vishy Jeet</b> <<a href="mailto:vishv.jeet@gmail.com">vishv.jeet@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div> </div>
<div>I am making changes in config_coinutils.h which defines</div>
<div>#define MY_C_ISNAN _isnan</div>
<div> </div>
<div>Changed version</div>
<div>#define MY_C_ISNAN std::isnan</div>
<div> </div>
<div>I will let you know what happnes.</div>
<div><span class="e" id="q_110dca9b0905052c_1">
<div> </div>
<div>regards,</div>
<div>vishy</div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 2/19/07, <b class="gmail_sendername">J P Fasano</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jpfasano@us.ibm.com" target="_blank">jpfasano@us.ibm.com</a>
> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">OK.<br>I suspect I was looking at a very old copy of CoinFinite.hpp.<br><br>I think the problem is that your version of the code is using isnan on
<br>cygwin when it should be using std::isnan.<br>I don't know where this stuff gets set, but perhaps you can grep for isnan<br>and see where it is defined and how it is defined.<br>You may be able to change this definition to use std::isnan.
<br><br>Of course there is a chance that I'm totaly wrong and this is not the<br>problem at all.<br><br>JP Fasano<br>(914)945-1324 (tie line 862-1324)<br><br><br><br> "Vishy Jeet"<br> <
vishv.jeet@gmail<br> .com> To<br> J P Fasano/Watson/IBM@IBMUS,<br> 02/19/2007 07:40 <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:flopcpp@list.coin-or.org" target="_blank">
flopcpp@list.coin-or.org</a><br> PM cc<br><br> Subject<br> Re: [FlopCpp] error making Flopc++
<br> example on cygwin<br><br><br><br><br><br><br><br><br><br><br><br>Thanks for your response. I don't have this block (specifically for<br>cygwin32) anywhere in CoinFinite.hpp I have. I am attaching the file here.
<br><br>regards,<br>vishy<br><br>On 2/19/07, J P Fasano, <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jpfasano@us.ibm.com" target="_blank">jpfasano@us.ibm.com</a> > wrote:<br>In CoinFinite.hpp
there are a few lines that look like:<br> #if defined(__CYGWIN32__) <br> # define CoinFinite finite<br> # define CoinIsnan std::isnan<br> #endif<br> # define CoinIsnan isnan<br>prefix to isnan<br>(914)945-1324 (tie line 862-1324)
<br><br><br><br> "Vishy Jeet" <br> <vishv.jeet@gmail<br>To<br> Sent by: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:flopcpp@list.coin-or.org" target="_blank">
flopcpp@list.coin-or.org</a><br> flopcpp-bounces@l cc <br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://ist.coin-or.org/" target="_blank">
ist.coin-or.org</a><br> Subject<br><br> [FlopCpp] error making Flopc++ <br> 02/19/2007 12:28 example on cygwin
<br> PM<br><br>>> ./configure -C --enable-doscompile<br><br>instead of<br>install<br>following<br>error:<br><br>>> make xbsl<br>-lOsiClp -lClp <br>xbsl<br> from ../../include/OsiCbcSolverInterface.hpp:10,
<br> from xbsl.cpp:6:<br>(first use this function)<br>undeclared identifier is<br>in.)<br>make: *** [xbsl] Error 1<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.mayanksahu.net/" target="_blank">
http://www.mayanksahu.net</a>.<br>.<br>list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://list.coin-or.org/mailman/listinfo/flopcpp" target="_blank">http://list.coin-or.org/mailman/listinfo/flopcpp
</a><br><br><br><br><br><br>--<br>--vishy<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.mayanksahu.net/" target="_blank">http://www.mayanksahu.net</a>. (See attached file: CoinFinite.hpp)<br>
</blockquote></div><br><br clear="all"><br></span></div>
<div><span class="e" id="q_110dca9b0905052c_2">-- <br>--vishy<br><br>_______________________<br>Youngest Music Meastro<br>Mayank Sahu<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.mayanksahu.net/" target="_blank">
http://www.mayanksahu.net</a> </span></div></blockquote></div><br><br clear="all"><br>-- <br>--vishy<br><br>_______________________<br>Youngest Music Meastro<br>Mayank Sahu<br><a href="http://www.mayanksahu.net">http://www.mayanksahu.net
</a>