[Bonmin] bonmin compilation error

Rodrigo López Negrete de la Fuente r.lopez.negrete at gmail.com
Mon Oct 8 18:45:09 EDT 2007


Hi,

I'm tying to compile the latest version of Bonmin (0.1.4). I'm using
Cygwing, make v3.81, gcc 3.4.4 in windows XP. After a successful
configuration I've been getting an error during compilation. The error seems
to be in cbc. Maybe some changes in the cbc interfaces? The first
compilation error is

C:/cygwin/home/rush/Coin-or/Bonmin-0.1/Clp/src/ClpSimplex.hpp:1296: error:
too many arguments to function `void ClpSimplexUnitTest(const std::string&)'
 Although, I'm appending the last part of the make output.

Has anybody seen this too??

Cheers,
Rodrigo

Configuring with

$ ../configure -C --disable-shared --enable-static --enable-doscompile
ADD_FFLAGS='-static'

Making all in Cbc
make[1]: Entering directory `/home/rush/Coin-or/Bonmin-0.1/build/Cbc'
Making all in src
make[2]: Entering directory `/home/rush/Coin-or/Bonmin-0.1/build/Cbc/src'
if g++ -DHAVE_CONFIG_H -I. -I`cygpath -w ../../../Cbc/src` -I../inc  -I`cygpath
-w /home/rush/Coin-or/Bonmin-0.1/Osi/src/OsiCbc` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Clp/src` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Osi/src/OsiClp` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/build/Cbc/../Clp/inc`
-IC:/cygwin/home/rush/Coin-or/Bonmin-0.1/build/ThirdParty/ASL
-IC:/cygwin/home/rush/Coin-or/Bonmin-0.1/ThirdParty/ASL/solvers -I`cygpath
-w /home/rush/Coin-or/Bonmin-0.1/Cgl/src` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglClique` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglDuplicateRow` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglFlowCover` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglGomory` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglKnapsackCover` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglMixedIntegerRounding` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglMixedIntegerRounding2` -I`cygpath
-w /home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglOddHole` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglPreProcess` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglProbing` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglRedSplit` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Cgl/src/CglTwomir` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/CoinUtils/src` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/build/Cbc/../CoinUtils/inc` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/Osi/src` -I`cygpath -w
/home/rush/Coin-or/Bonmin-0.1/build/Cbc/../Osi/inc` -DCOIN_NO_CLP_MESSAGE
-DUSE_CBCCONFIG -mno-cygwin  -O3 -fomit-frame-pointer -mno-cygwin -pipe
-DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual
-Wall -Wpointer-arith -Wwrite-strings -Wconversion   -MT unitTestClp.o -MD
-MP -MF ".deps/unitTestClp.Tpo" -c -o
unitTestClp.o../../../Cbc/src/unitTestClp.cpp; \
                then mv -f ".deps/unitTestClp.Tpo" ".deps/unitTestClp.Po";
else rm -f ".deps/unitTestClp.Tpo"; exit 1; fi
../../../Cbc/src/unitTestClp.cpp: In function `int mainTest(int, const
char**, int, ClpSimplex, bool, int)':
../../../Cbc/src/unitTestClp.cpp:210: warning: unused variable 'bottom'
C:/cygwin/home/rush/Coin-or/Bonmin-0.1/Clp/src/ClpSimplex.hpp:1296: error:
too many arguments to function `void ClpSimplexUnitTest(const std::string&)'
../../../Cbc/src/unitTestClp.cpp:276: error: at this point in file
../../../Cbc/src/unitTestClp.cpp: In function `void ClpSimplexUnitTest(const
std::string&, const std::string&)':
../../../Cbc/src/unitTestClp.cpp:652: warning: unused variable 'returnCode'
../../../Cbc/src/unitTestClp.cpp:657: warning: unused variable 'colsol1'
../../../Cbc/src/unitTestClp.cpp:1038: warning: unused variable 'value'
../../../Cbc/src/unitTestClp.cpp:999: warning: unused variable 'objValue'
../../../Cbc/src/unitTestClp.cpp:1109: warning: unused variable 'value'
../../../Cbc/src/unitTestClp.cpp:1717: warning: unused variable 'objValue'
../../../Cbc/src/unitTestClp.cpp: In function `void CbcClpUnitTest(const
CbcModel&)':
../../../Cbc/src/unitTestClp.cpp:1927: warning: unused variable 'nr'
../../../Cbc/src/unitTestClp.cpp:1928: warning: unused variable 'nc'
make[2]: *** [unitTestClp.o] Error 1
make[2]: Leaving directory `/home/rush/Coin-or/Bonmin-0.1/build/Cbc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rush/Coin-or/Bonmin-0.1/build/Cbc'
make: *** [all-recursive] Error 1



-- 
Rodrigo López Negrete de la Fuente
Email: r.lopez.negrete at gmail.com
Carnegie Mellon University
Department of Chemical Engineering
5000 Forbes Ave.
Pittsburgh, PA 15213-3890
USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/bonmin/attachments/20071008/88ec5c97/attachment.html


More information about the Bonmin mailing list