[Cbc] problems compiling trunk branch of Cbc on Linux

Kish Shen kisshen at cisco.com
Thu Jun 7 12:17:54 EDT 2007


Hi,

Recently I have been having problems compiling the trunk branch of Cbc 
on Linux, I first tried on x86_64, but then also on a normal x86 box.
The problem occurs when OsiCbcSolverInterface.cpp is compiled:

g++ -DHAVE_CONFIG_H -I. -I../../../../Osi/src/OsiCbc -I../../inc 
-I/homes/kish/Coin-Cbc20070607/CoinUtils/src 
-I/homes/kish/Coin-Cbc20070607/i386_linux/Osi/../CoinUtils/inc 
-I/homes/kish/Coin-Cbc20070607/Cbc/src -I../../../../Osi/src/OsiCbc/.. 
-I../../../../Osi/src/OsiCbc/../OsiClp 
-I/homes/kish/Coin-Cbc20070607/Clp/src 
-I/homes/kish/Coin-Cbc20070607/i386_linux/Osi/../Clp/inc -O3 
-fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit 
-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith 
-Wwrite-strings -Wconversion -MT OsiCbcSolverInterface.lo -MD -MP -MF 
.deps/OsiCbcSolverInterface.Tpo -c 
../../../../Osi/src/OsiCbc/OsiCbcSolverInterface.cpp  -fPIC -DPIC -o 
.libs/OsiCbcSolverInterface.o
In file included from 
../../../../Osi/src/OsiCbc/OsiCbcSolverInterface.cpp:17:
../../../../Osi/src/OsiClp/OsiClpSolverInterface.hpp:1114: error: syntax 
error
    before `{' token
....

Any idea what the problem is, and how I can work around it?

I just svn'ed the code (trunk branch) today -- 7 June, but I have also 
had problems with the code from 1 June as well.

Cheers,

Kish


More information about the Cbc mailing list