[Bonmin] Error compiling new svn revision 458

Rodrigo López Negrete de la Fuente soyrush at gmail.com
Wed Apr 11 13:43:59 EDT 2007


Hi Pierre,

I just downloaded the newest revision of bonmin via svn, and got an error
when compiling it. I'm using revision 458, and gcc version 4.0.3 (Ubuntu
4.0.3-1ubuntu5).

Thanks, I hope its just a typo somewhere...
Rodrigo Lopez-Negrete

I used the following configure command:

$ ../configure -C  \
        --with-pardiso="/home/rush/lib/libpardiso_GNU_IA32.so" \
        --with-blas="-L/usr/lib -lblas"       \
        --with-lapack="-L/usr/lib -llapack"

The configuration was successful, but I got the error when making the
project(more details below):
../../../../Bonmin/src/IpoptInterface/IpCbcBoundsReader.cpp  -fPIC -DPIC -o
.libs/IpCbcBoundsReader.o
../../../../Bonmin/src/IpoptInterface/IpoptInterface.hpp: In constructor
'IpoptInterface::SimpleError::SimpleError()':
/home/rush/Coin-or/Bonmin-0.1/CoinUtils/src/CoinError.hpp:34: error:
'CoinError::CoinError()' is private
../../../../Bonmin/src/IpoptInterface/IpoptInterface.hpp:55: error: within
this context
make[2]: *** [IpCbcBoundsReader.lo] Error 1


Some more details of the error are here....

$ make

[some output snipped]...

Making all in Bonmin
make[1]: Entering directory `/home/rush/Coin-or/Bonmin-0.1/build/Bonmin'
Making all in src/IpoptInterface
make[2]: Entering directory `/home/rush/Coin-or/Bonmin-0.1
/build/Bonmin/src/IpoptInterface'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I`echo ../../../../Bonmin/src/IpoptInterface` -I../../inc  -I`echo
/home/rush/Coin-or/Bonmin-0.1/build/Bonmin/../Ipopt/inc` -I`echo
/home/rush/Coin-or/Bonmin-0.1/Ipopt/src/Common` -I`echo
/home/rush/Coin-or/Bonmin-0.1/Ipopt/src/LinAlg` -I`echo
/home/rush/Coin-or/Bonmin-0.1/Ipopt/src/Algorithm` -I`echo
/home/rush/Coin-or/Bonmin-0.1/Ipopt/src/Interfaces` -I`echo
/home/rush/Coin-or/Bonmin-0.1/Ipopt/src/Apps/AmplSolver` -I`echo
/home/rush/Coin-or/Bonmin-0.1/CoinUtils/src` -I`echo
/home/rush/Coin-or/Bonmin-0.1/build/Bonmin/../CoinUtils/inc` -I`echo
/home/rush/Coin-or/Bonmin-0.1/Osi/src` -I`echo
/home/rush/Coin-or/Bonmin-0.1/Osi/src/OsiClp`
-I`echo /home/rush/Coin-or/Bonmin-0.1/build/Bonmin/../Clp/inc` -I`echo
/home/rush/Coin-or/Bonmin-0.1/Clp/src`    -O3 -fomit-frame-pointer -pipe
-DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual
-Wall -Wpointer-arith -Wwrite-strings -Wconversion   -MT
IpCbcBoundsReader.lo -MD -MP -MF ".deps/IpCbcBoundsReader.Tpo" -c -o
IpCbcBoundsReader.lo../../../../Bonmin/src/IpoptInterface/IpCbcBoundsReader.cpp;
\
        then mv -f ".deps/IpCbcBoundsReader.Tpo"
".deps/IpCbcBoundsReader.Plo"; else rm -f ".deps/IpCbcBoundsReader.Tpo";
exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I../../../../Bonmin/src/IpoptInterface -I../../inc
-I/home/rush/Coin-or/Bonmin-0.1/build/Bonmin/../Ipopt/inc
-I/home/rush/Coin-or/Bonmin-0.1/Ipopt/src/Common
-I/home/rush/Coin-or/Bonmin-0.1/Ipopt/src/LinAlg
-I/home/rush/Coin-or/Bonmin-0.1/Ipopt/src/Algorithm
-I/home/rush/Coin-or/Bonmin-0.1/Ipopt/src/Interfaces
-I/home/rush/Coin-or/Bonmin-0.1/Ipopt/src/Apps/AmplSolver
-I/home/rush/Coin-or/Bonmin-0.1/CoinUtils/src -I/home/rush/Coin-or/Bonmin-
0.1/build/Bonmin/../CoinUtils/inc -I/home/rush/Coin-or/Bonmin-0.1/Osi/src
-I/home/rush/Coin-or/Bonmin-0.1/Osi/src/OsiClp -I/home/rush/Coin-or/Bonmin-
0.1/build/Bonmin/../Clp/inc -I/home/rush/Coin-or/Bonmin-0.1/Clp/src -O3
-fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
-Wwrite-strings -Wconversion -MT IpCbcBoundsReader.lo -MD -MP -MF
.deps/IpCbcBoundsReader.Tpo -c
../../../../Bonmin/src/IpoptInterface/IpCbcBoundsReader.cpp  -fPIC -DPIC -o
.libs/IpCbcBoundsReader.o
../../../../Bonmin/src/IpoptInterface/IpoptInterface.hpp: In constructor
'IpoptInterface::SimpleError::SimpleError()':
/home/rush/Coin-or/Bonmin-0.1/CoinUtils/src/CoinError.hpp:34: error:
'CoinError::CoinError()' is private
../../../../Bonmin/src/IpoptInterface/IpoptInterface.hpp:55: error: within
this context
make[2]: *** [IpCbcBoundsReader.lo] Error 1
make[2]: Leaving directory `/home/rush/Coin-or/Bonmin-0.1
/build/Bonmin/src/IpoptInterface'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rush/Coin-or/Bonmin-0.1/build/Bonmin'
make: *** [all-recursive] Error 1


thanks!


-- 
Rodrigo López Negrete
http://muon.blogdns.org/~rush/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/bonmin/attachments/20070411/23cac803/attachment.html


More information about the Bonmin mailing list