[Osi-tickets] [COIN-OR Open Solver Interface] #16: error in cygwin build of OSI: CoinFinite.hpp:90: error: `_isnan' undeclared

COIN-OR Open Solver Interface coin-trac at coin-or.org
Mon Dec 4 22:32:25 EST 2006


#16: error in cygwin build of OSI: CoinFinite.hpp:90: error: `_isnan' undeclared
----------------------------+-----------------------------------------------
 Reporter:  craig_schmidt   |       Owner:  mjs   
     Type:  defect          |      Status:  new   
 Priority:  major           |   Milestone:        
Component:  Osi Base Class  |     Version:  0.95.0
 Keywords:                  |  
----------------------------+-----------------------------------------------
 Hi There,

 I am trying to build Osi stable 0.95 using cygwin on Windows XP.
 This is with gcc 3.4.4, and the updated version of make 3.81
 as directed here[https://projects.coin-or.org/BuildTools/wiki/current-
 issues]

 I did the following steps:

 1. did a new install of cygwin

 2. use subversion to get OSI:

 {{{svn co http://www.coin-or.org/svn/Osi/stable/0.95 coin-Osi}}}

 3. did ./configure -C, which worked fine

 4. did make, and got this error:

 {{{
 make[3]: Entering directory `/cygdrive/d/netflix/coin/coin-Osi/Osi/src'
 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
 -I`cygpath -w .` -I../inc  -I`cygpath -w /cygdrive/d/netflix/coin/coin-
 Osi/CoinUtils/src` -I`cygpath -w /cygdrive/d/netflix/coin/coin-
 Osi/Osi/../CoinUtils/inc`   -O3 -fomit-frame-pointer -pipe -DNDEBUG
 -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall
 -Wpointer-arith -Wwrite-strings -Wconversion   -MT OsiAuxInfo.lo -MD -MP
 -MF ".deps/OsiAuxInfo.Tpo" -c -o OsiAuxInfo.lo OsiAuxInfo.cpp; \
  then mv -f ".deps/OsiAuxInfo.Tpo" ".deps/OsiAuxInfo.Plo"; else rm -f
 ".deps/OsiAuxInfo.Tpo"; exit 1; fi
  g++ -DHAVE_CONFIG_H -I. -I. -I../inc -Id:\\netflix\\coin\\coin-
 Osi\\CoinUtils\\src -Id:\\netflix\\coin\\coin-Osi\\CoinUtils\\inc -O3
 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
 -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-
 strings -Wconversion -MT OsiAuxInfo.lo -MD -MP -MF .deps/OsiAuxInfo.Tpo -c
 OsiAuxInfo.cpp -o OsiAuxInfo.o
 In file included from d:/netflix/coin/coin-
 Osi/CoinUtils/src/CoinMessageHandler.hpp:15,
                  from OsiSolverInterface.hpp:9,
                  from OsiAuxInfo.cpp:11:
 d:/netflix/coin/coin-Osi/CoinUtils/src/CoinFinite.hpp: In function `bool
 CoinIsnan(double)':
 d:/netflix/coin/coin-Osi/CoinUtils/src/CoinFinite.hpp:90: error: `_isnan'
 undeclared (first use this function)
 d:/netflix/coin/coin-Osi/CoinUtils/src/CoinFinite.hpp:90: error: (Each
 undeclared identifier is reported only once for each function it appears
 in.)
 make[3]: *** [OsiAuxInfo.lo] Error 1
 make[3]: Leaving directory `/cygdrive/d/netflix/coin/coin-Osi/Osi/src'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/cygdrive/d/netflix/coin/coin-Osi/Osi/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/cygdrive/d/netflix/coin/coin-Osi/Osi'
 make: *** [all-recursive] Error 1
 }}}

 Any suggestions?

 Thanks,
 Craig Schmidt

-- 
Ticket URL: <https://projects.coin-or.org/Osi/ticket/16>
COIN-OR Open Solver Interface <http://projects.coin-or.org/Osi>
An API for a variety of LP and MIP solvers (and more).



More information about the Osi-tickets mailing list