[Bonmin] bonmin compilation error

Stefan Vigerske stefan at vigerske.de
Thu Jun 19 16:09:41 EDT 2008


Hi,

Benjamin Phillips wrote:
> I have been trying to compile Bonmin-0.1.4 in Cygwin. After successfully 
> configuring, I get errors during compilation. (I apologize if these have 
> been covered previously or the solution should be obvious.) Does anyone 
> have any a solution?

There seem to be some misunderstanding about the function that tests for 
isnan. If you send the config.log from the CoinUtils subdirectory, that 
might be helpful.
However, Bonmin 0.1 is already a bit old (sorry Pierre :-)), so the 
troubles you have are with a CoinUtils release that seem to be at least 
one years old.
I have made good experience with Bonmin 0.9 which is hidden in the 
branches/0.9 subdirectory (do a
svn checkout https://projects.coin-or.org/svn/Bonmin/branches/0.9 Bonmin-0.9
to get it).
Hopefully your problem will be fixed there.

Best,
Stefan

> 
> Many thanks,
> Ben Phillips
> 
> The first occurs after seemingly setting up much of the basic COIN 
> infrastructure (the final items being CoinWarmStartBasis.lo 
> CoinWarmStartDual.lo), the program gives the command: mkdir .libs
> 
> This generates the following error message:
> 
> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin 
> shared libraries
> 
> The compilation then continues along before a fatal set of error messages:
> 
>  g++ -DHAVE_CONFIG_H -I. 
> -IC:\\cygwin\\home\bphillip\\Bonmin-0.1.4\\Clp\\src -I../inc 
> -IC:\\cygwin\\home\bphillip\\Bonmin-0.1.4\\CoinUtils\\src 
> -IC:\\cygwin\\home\bphillip\\Bonmin-0.1.4\\Build\\CoinUtils\\inc -03 
> -fomit-frame-pointer -mno-cygwin -pipe -DNDEBUG -pedantic-errors 
> -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith 
> -Wwrite-strings -Wconversion -MT ClpCholeskyBase.lo -MD -MP -MF 
> .deps/ClpCholeskyBase/Tpo -c ../../../Clp/src/ClpCholeskyBase.cpp -o 
> ClpCholeskyBase.o
> In file included from ../../../Clp/src/ClpCholeskyBase.hpp:7,
>     from ../../../Clp/src/ClpCholeskyBase.cpp:8:
> C:/cygwin/home/bphillip/Bonmin-0.1.4/CoinUtils/src/CoinFinite.hpp:32:22: 
> ieeefp.h: No such file or directory
> In file included from ../../../Clp/src/ClpCholeskyBase.hpp:7,
>     from ../../../Clp/src/ClpCholeskyBase.cpp:8:
> C:/cygwin/home/bphillip/Bonmin-0.1.4/CoinUtils/src/CoinFinite.hpp: In 
> function `bool CoinIsnan(double)':
> C:/cygwin/home/bphillip/Bonmin-0.1.4/CoinUtils/src/CoinFinite.hpp:90: 
> error: `isnan' undeclared (first use this function)
> C:/cygwin/home/bphillip/Bonmin-0.1.4/CoinUtils/src/CoinFinite.hpp:90: 
> error: (Each undeclared identifier is reported only once for each 
> function it appears in.)
> 
> make[2]: ***[ClpCholeskyBase.lo] Error 1
> make[2]: Leaving directory `/home/bphillip/Bonmin-0.1.4/build/Clp/src'
> $
> make[1]: Leaving directory `home//bphillip/Bonmin-0.1.4/build/Clp'
> make: *** [all-recursive] Error 1
> 



More information about the Bonmin mailing list