[Cbc] problems compiling trunk branch of Cbc on Linux

John J Forrest jjforre at us.ibm.com
Fri Jun 8 06:39:49 EDT 2007


The trouble arose when branches/devel/Osi was moved to trunk as OsiClp was 
pointing to branches/devel/Clp but trunk version is now pointing to 
trunk/Clp, which does not contain all the required classes.

Until this mess is sorted out, I have patched a few source files in 
trunk/Clp and trunk/Osi/src/OsiClp.  Hopefully it should compile now.

John Forrest



Kish Shen <kisshen at cisco.com> 
Sent by: cbc-bounces at list.coin-or.org
06/07/2007 12:17 PM

To
cbc at list.coin-or.org
cc

Subject
[Cbc] problems compiling trunk branch of Cbc on Linux






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
_______________________________________________
Cbc mailing list
Cbc at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/cbc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/cbc/attachments/20070608/a122bd1d/attachment.html


More information about the Cbc mailing list