Hi, <br><br>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
<p>
</p><p><span style="font-size: 10pt;">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&)'<br>
</span></p>
Although, I'm appending the last part of the make output.<br><br>Has anybody seen this too??<br><br>Cheers,<br>Rodrigo<br><br>Configuring with<br><br>$ ../configure -C --disable-shared --enable-static --enable-doscompile ADD_FFLAGS='-static'
<br>
<p><span style="font-size: 10pt;">Making all in Cbc<br>
make[1]: Entering directory `/home/rush/Coin-or/Bonmin-0.1/build/Cbc'<br>
Making all in src<br>
make[2]: Entering directory `/home/rush/Coin-or/Bonmin-0.1/build/Cbc/src'<br>
if g++ -DHAVE_CONFIG_H -I. -I`cygpath -w
../../../Cbc/src` -I../inc<span> </span>-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`<span> </span>-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<span> </span>-O3
-fomit-frame-pointer -mno-cygwin -pipe -DNDEBUG -pedantic-errors -Wimplicit
-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings
-Wconversion<span> </span>-MT unitTestClp.o -MD -MP
-MF ".deps/unitTestClp.Tpo" -c -o unitTestClp.o ../../../Cbc/src/unitTestClp.cpp;
\<br>
<span> </span>then mv -f
".deps/unitTestClp.Tpo" ".deps/unitTestClp.Po"; else rm -f
".deps/unitTestClp.Tpo"; exit 1; fi<br>
../../../Cbc/src/unitTestClp.cpp: In function `int mainTest(int, const char**,
int, ClpSimplex, bool, int)':<br>
../../../Cbc/src/unitTestClp.cpp:210: warning: unused variable 'bottom'<br>
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&)'<br>
../../../Cbc/src/unitTestClp.cpp:276: error: at this point in file<br>
../../../Cbc/src/unitTestClp.cpp: In function `void ClpSimplexUnitTest(const
std::string&, const std::string&)':<br>
../../../Cbc/src/unitTestClp.cpp:652: warning: unused variable
'returnCode'<br>
../../../Cbc/src/unitTestClp.cpp:657: warning: unused variable 'colsol1'<br>
../../../Cbc/src/unitTestClp.cpp:1038: warning: unused variable 'value'<br>
../../../Cbc/src/unitTestClp.cpp:999: warning: unused variable 'objValue'<br>
../../../Cbc/src/unitTestClp.cpp:1109: warning: unused variable 'value'<br>
../../../Cbc/src/unitTestClp.cpp:1717: warning: unused variable
'objValue'<br>
../../../Cbc/src/unitTestClp.cpp: In function `void CbcClpUnitTest(const
CbcModel&)':<br>
../../../Cbc/src/unitTestClp.cpp:1927: warning: unused variable 'nr'<br>
../../../Cbc/src/unitTestClp.cpp:1928: warning: unused variable 'nc'<br>
make[2]: *** [unitTestClp.o] Error 1<br>
make[2]: Leaving directory `/home/rush/Coin-or/Bonmin-0.1/build/Cbc/src'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/home/rush/Coin-or/Bonmin-0.1/build/Cbc'<br>
make: *** [all-recursive] Error 1<br>
</span></p>
<br><br clear="all"><br>-- <br>Rodrigo López Negrete de la Fuente<br>Email: <a href="mailto:r.lopez.negrete@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">r.lopez.negrete@gmail.com</a><br>
Carnegie Mellon University<br>Department of Chemical Engineering<br>
5000 Forbes Ave.<br>Pittsburgh, PA 15213-3890<br>USA