[Bcp-tickets] Re: [Branch-Cut-Price Framework] #9: make test fails
on Linux
Branch-Cut-Price Framework
coin-trac at coin-or.org
Sun Jan 7 12:04:16 EST 2007
#9: make test fails on Linux
-------------------------+--------------------------------------------------
Reporter: fmargot | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone:
Component: component1 | Version: 1.0
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Comment (by fmargot):
Replying to [comment:1 lou]:
> The problem is that Bcp/test/BAC/Makefile.am is missing the line
>
> {{{AM_CPPFLAGS += -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc`}}}
>
> in the section that adds include directories to the command line (line
78 or thereabouts). It'll fail on pretty much any platform.
Adding that line in the Makefile.am of the tar ball Bcp-1.0.0
still results in a failure during 'make test' (adding in in
trunk also results in a similar error; it is already in the stable branch
and works there):
make[2]: Entering directory `/home/prov/Bcp-1.0.0/buildg/Bcp/test/BAC'
if g++ -DHAVE_CONFIG_H -I. -Iinclude -I../../inc -I`echo
/home/prov/Bcp-1.0.0/Bcp/src/include` -I`echo
/home/prov/Bcp-1.0.0/Cgl/src` -I`echo
/home/prov/Bcp-1.0.0/Cgl/src/CglFlowCover` -I`echo
/home/prov/Bcp-1.0.0/Cgl/src/CglGomory` -I`echo
/home/prov/Bcp-1.0.0/Cgl/src/CglKnapsackCover` -I`echo
/home/prov/Bcp-1.0.0/Cgl/src/CglOddHole` -I`echo
/home/prov/Bcp-1.0.0/Cgl/src/CglProbing` -I`echo
/home/prov/Bcp-1.0.0/Osi/src` -I`echo /home/prov/Bcp-1.0.0/Osi/src/OsiClp`
-I`echo /home/prov/Bcp-1.0.0/Clp/src` -I`echo
/home/prov/Bcp-1.0.0/buildg/Bcp/../Clp/inc` -I`echo
/home/prov/Bcp-1.0.0/CoinUtils/src` -g -pipe -pedantic-errors -Wimplicit
-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-
strings -Wconversion -MT BB_lp.o -MD -MP -MF ".deps/BB_lp.Tpo" -c -o
BB_lp.o `test -f 'LP/BB_lp.cpp' || echo
'../../../../Bcp/test/BAC/'`LP/BB_lp.cpp; \
then mv -f ".deps/BB_lp.Tpo" ".deps/BB_lp.Po"; else rm -f
".deps/BB_lp.Tpo"; exit 1; fi
In file included from /home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp:8,
from
/home/prov/Bcp-1.0.0/CoinUtils/src/CoinMessageHandler.hpp:15,
from
/home/prov/Bcp-1.0.0/Osi/src/OsiSolverInterface.hpp:9,
from
/home/prov/Bcp-1.0.0/Bcp/src/include/BCP_lp_user.hpp:10,
from include/BB_lp.hpp:17,
from LP/BB_lp.cpp:15:
/home/prov/Bcp-1.0.0/CoinUtils/src/CoinUtilsConfig.h:23:30: error:
config_coinutils.h: No such file or directory
In file included from
/home/prov/Bcp-1.0.0/CoinUtils/src/CoinMessageHandler.hpp:15,
from
/home/prov/Bcp-1.0.0/Osi/src/OsiSolverInterface.hpp:9,
from
/home/prov/Bcp-1.0.0/Bcp/src/include/BCP_lp_user.hpp:10,
from include/BB_lp.hpp:17,
from LP/BB_lp.cpp:15:
/home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp:16:4: error: #error
"don't have header file for math"
/home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp: In function 'bool
CoinFinite(double)':
/home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp:80: error: 'DBL_MAX' was
not declared in this scope
make[2]: *** [BB_lp.o] Error 1
make[2]: Leaving directory `/home/prov/Bcp-1.0.0/buildg/Bcp/test/BAC'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/prov/Bcp-1.0.0/buildg/Bcp'
make: *** [test] Error 2
--
Ticket URL: <https://projects.coin-or.org/Bcp/ticket/9#comment:2>
Branch-Cut-Price Framework <http://projects.coin-or.org/Bcp>
A parallel framework for branch-cut-price algorithms.
More information about the Bcp-tickets
mailing list