[FlopCpp] compiling FlopC++ on cygwin: Error

s.mitchell at auckland.ac.nz s.mitchell at auckland.ac.nz
Sun Dec 31 06:13:17 EST 2006


I ran into something similar and submitted a bug report on track,
The error is actually in Osi and Clp and I think the solution that worked
for me was to use
./configure -C --enabledoscompile
instead of the recommended
./configure

I am posting this on a other computer with limited access to my email so
please have a look in trac for these bug reports for the correct syntax if
the above does not work

Stu

> Help!!!!!!!!!!! Please see the error log below...
>
>
> In file included from c:/coin-FlopCpp/CoinUtils/src/CoinFinite.hpp:32,
>                  from
> c:/coin-FlopCpp/CoinUtils/src/CoinMessageHandler.hpp:15,
>                  from c:/coin-FlopCpp/Osi/src/OsiSolverInterface.hpp:9,
>                  from MP_constraint.cpp:14:
> c:/coin-FlopCpp/CoinUtils/src/ieeefp.h:34: warning: ignoring #pragma ident
> c:/coin-FlopCpp/CoinUtils/src/ieeefp.h:60: error: expected identifier
> before
> numeric constant
> c:/coin-FlopCpp/CoinUtils/src/ieeefp.h:60: error: expected `}' before
> numeric constant
> c:/coin-FlopCpp/CoinUtils/src/ieeefp.h:60: error: expected unqualified-id
> before numeric constant
> c:/coin-FlopCpp/CoinUtils/src/ieeefp.h:60: error: expected `,' or `;'
> before
> numeric constant
> c:/coin-FlopCpp/CoinUtils/src/ieeefp.h:70: error: declaration does not
> declare anything
> c:/coin-FlopCpp/CoinUtils/src/ieeefp.h:73: error: new declaration
> `fpclass_t
> fpclass(double)'
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/math.h:264:
> error: ambiguates old declaration `int fpclass(double)'
> c:/coin-FlopCpp/CoinUtils/src/ieeefp.h:324: error: expected declaration
> before '}' token
> In file included from c:/coin-FlopCpp/CoinUtils/src/CoinFinite.hpp:32,
>                  from
> c:/coin-FlopCpp/CoinUtils/src/CoinMessageHandler.hpp:15,
>                  from c:/coin-FlopCpp/Osi/src/OsiSolverInterface.hpp:9,
>                  from MP_constraint.cpp:14:
> c:/coin-FlopCpp/CoinUtils/src/ieeefp.h:323:1: unterminated #ifdef
> c:/coin-FlopCpp/CoinUtils/src/ieeefp.h:31:1: unterminated #ifndef
> In file included from
> c:/coin-FlopCpp/CoinUtils/src/CoinMessageHandler.hpp:15,
>                  from c:/coin-FlopCpp/Osi/src/OsiSolverInterface.hpp:9,
>                  from MP_constraint.cpp:14:
> c:/coin-FlopCpp/CoinUtils/src/CoinFinite.hpp:31:1: unterminated #ifdef
> c:/coin-FlopCpp/CoinUtils/src/CoinFinite.hpp:28:1: unterminated #else
> c:/coin-FlopCpp/CoinUtils/src/CoinFinite.hpp:5:1: unterminated #ifndef
> In file included from c:/coin-FlopCpp/Osi/src/OsiSolverInterface.hpp:9,
>                  from MP_constraint.cpp:14:
> c:/coin-FlopCpp/CoinUtils/src/CoinMessageHandler.hpp:3:1: unterminated
> #ifndef
> In file included from MP_constraint.cpp:14:
> c:/coin-FlopCpp/Osi/src/OsiSolverInterface.hpp:3:1: unterminated #ifndef
> make[1]: *** [MP_constraint.lo] Error 1
> make[1]: Leaving directory `/cygdrive/c/coin-FlopCpp/FlopCpp/src'
> make: *** [all-recursive] Error 1
> _______________________________________________
> FlopCpp mailing list
> FlopCpp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/flopcpp
>



More information about the FlopCpp mailing list