[Cgl] CGL is not compiling - this from a BCP/trunk checkout

Matthew Galati magh at lehigh.edu
Wed Nov 4 20:35:53 EST 2009


CGL is not compiling - this from a BCP/trunk checkout.


[magala at orclus71 build]$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)


 g++ -DHAVE_CONFIG_H -I. -I../../../../Cgl/src/CglTwomir -I../../inc
-I../../../                                     ../Cgl/src/CglTwomir/..
-I/users/magala/COIN/coin-Bcp/CoinUtils/src
-I/users/mag
ala/COIN/coin-Bcp/build/Cgl/../CoinUtils/inc
-I/users/magala/COIN/coin-Bcp/Osi/s                                     rc
-O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
-Wparenth                                     eses -Wreturn-type -Wcast-qual
-Wall -Wpointer-arith -Wwrite-strings
-Wconversio                                     n -Wno-unknown-pragmas -MT
CglTwomir.lo -MD -MP -MF .deps/CglTwomir.Tpo -c
../..
/../../Cgl/src/CglTwomir/CglTwomir.cpp  -fPIC -DPIC -o .libs/CglTwomir.o
../../../../Cgl/src/CglTwomir/CglTwomir.cpp: In member function 'virtual
void Cg                                     lTwomir::generateCuts(const
OsiSolverInterface&, OsiCuts&, CglTreeInfo) const':
../../../../Cgl/src/CglTwomir/CglTwomir.cpp:201: error: 'max' was not
declared i                                     n this scope
../../../../Cgl/src/CglTwomir/CglTwomir.cpp:202: error: 'min' was not
declared i                                     n this scope
../../../../Cgl/src/CglTwomir/CglTwomir.cpp: In function 'int
DGG_add2stepToList                                     (DGG_constraint_t*,
char*, double*, double*, DGG_list_t*, DGG_data_t*,
DGG_const                                     raint_t*)':
../../../../Cgl/src/CglTwomir/CglTwomir.cpp:1462: error: 'max' was not
declared                                      in this scope
../../../../Cgl/src/CglTwomir/CglTwomir.cpp:1488: error: 'min' was not
declared                                      in this scope
make[3]: *** [CglTwomir.lo] Error 1
make[3]: Leaving directory
`/users/magala/COIN/coin-Bcp/build/Cgl/src/CglTwomir'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/users/magala/COIN/coin-Bcp/build/Cgl/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/users/magala/COIN/coin-Bcp/build/Cgl'
make: *** [all-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/cgl/attachments/20091104/7d21e412/attachment.html 


More information about the Cgl mailing list