[Cbc] Compile error

Babak Moazzez bmoazzez at ucdavis.edu
Fri Sep 25 16:35:37 EDT 2015


Hi

 I am trying to compile CBC on Windows with MinGW with --enable-cbc-parallel,
and I get the following error:

In file included from c:\mingw\include\objbase.h:4:0,
                 from c:\mingw\include\ole2.h:9,
                 from c:\mingw\include\windows.h:114,
                 from c:\mingw\include\pthread.h:198,
                 from c:/opt/coin-Cbc-2.9/Clp/src/ClpSimplex.hpp:1737,
                 from CbcSubProblem.hpp:12,
                 from CbcGeneralDepth.hpp:13,
                 from CbcBranchActual.hpp:21,
                 from CbcFullNodeInfo.cpp:33:
c:/opt/coin-Cbc-2.9/Clp/src/ClpSimplexOther.hpp:242:41: error: expected ','
or '
...' before 'char'
      void afterCrunch(const ClpSimplex &small,
                                         ^
In file included from
c:/opt/coin-Cbc-2.9/Osi/src/Osi/OsiSolverInterface.hpp:17:
0,
                 from CbcFullNodeInfo.cpp:23:
c:/opt/coin-Cbc-2.9/CoinUtils/src/CoinFinite.hpp:20:14: warning:
'COIN_INT_MAX_A
S_DOUBLE' defined but not used [-Wunused-variable]
 const double COIN_INT_MAX_AS_DOUBLE = (std::numeric_limits<int>::max)();
              ^
make[3]: *** [CbcFullNodeInfo.lo] Error 1
make[3]: Leaving directory `/c/opt/coin-Cbc-2.9/Cbc/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/c/opt/coin-Cbc-2.9/Cbc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/opt/coin-Cbc-2.9/Cbc'
make: *** [all-recursive] Error 1


Can anyone help please.

Thanks
Babak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20150925/cd7f1914/attachment.html>


More information about the Cbc mailing list