[FlopCpp] compiling FlopC++ on cygwin: Error

Vishy Jeet vishv.jeet at gmail.com
Fri Feb 16 12:25:00 EST 2007


Sorry to pick up on an old thread. I can successfully run ./configure
command without any error, but my cygwin shell doesn't accept
"--enabledoscompile" argument.

I am still facing the same problem with *make* step, I can't compile the
source code and get the following error:

cpp -o MP_constraint.o
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




On 12/31/06, s.mitchell at auckland.ac.nz <s.mitchell at auckland.ac.nz> wrote:
>
> 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
> >
>
>


-- 
--vishy

_______________________
Youngest Music Meastro
Mayank Sahu
http://www.mayanksahu.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/flopcpp/attachments/20070216/ef07a5fa/attachment.html


More information about the FlopCpp mailing list