[Coin-discuss] Make : Error in the latest version of coin-Cbc
Andreas Waechter
andreasw at watson.ibm.com
Fri Oct 13 16:35:19 EDT 2006
Hi,
There is a line missing in
Cgl/src/CglLandP/Makefile.am
It should be
33 AM_CPPFLAGS = \
34 -I`$(CYGPATH_W) $(srcdir)/..` \
35 -I`$(CYGPATH_W) $(srcdir)/../CglGomory` \
36 -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
-I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc` \
37 -I`$(CYGPATH_W) $(OSISRCDIR)/src` \
38 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
39 -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
40 -I`$(CYGPATH_W) $(top_builddir)/../Clp/inc`
The line without a number in front of it is missing.
If you want to don't want to run the autotools (likely scenario), you can
temporarily if it by changing
Cgl/src/CglLandP/Makefile.in
instead:
310 AM_CPPFLAGS = \
311 -I`$(CYGPATH_W) $(srcdir)/..` \
312 -I`$(CYGPATH_W) $(srcdir)/../CglGomory` \
313 -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
-I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc` \
314 -I`$(CYGPATH_W) $(OSISRCDIR)/src` \
315 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
316 -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
317 -I`$(CYGPATH_W) $(top_builddir)/../Clp/inc`
and run the configuration script again.
I'm not going to change anything in the Cgl repository.
Hope this helps,
Andreas
On Fri, 13 Oct 2006, [iso-8859-1] Hacène Ouzia wrote:
> Hi John,
>
> Here are the last lines of the make command :
>
> In file included from
> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinFinite.hpp:8,
> from
> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinMessageHandler.hpp:15,
> from
> D:/cygwin/home/Ares/coin-Cbc/Osi/src/OsiSolverInterface.hpp:9,
> from ../../../../Cgl/src/CglLandP/CglLandPValidator.hpp:10,
> from ../../../../Cgl/src/CglLandP/CglLandP.hpp:18,
> from ../../../../Cgl/src/CglLandP/CglLandP.cpp:7:
> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinUtilsConfig.h:23:30:
> config_coinutils.h: No such file or directory
> In file included from
> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinMessageHandler.hpp:15,
> from
> D:/cygwin/home/Ares/coin-Cbc/Osi/src/OsiSolverInterface.hpp:9,
> from ../../../../Cgl/src/CglLandP/CglLandPValidator.hpp:10,
> from ../../../../Cgl/src/CglLandP/CglLandP.hpp:18,
> from ../../../../Cgl/src/CglLandP/CglLandP.cpp:7:
> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinFinite.hpp:16:4: #error
> "don't have header file for math"
> In file included from
> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinMessageHandler.hpp:15,
> from
> D:/cygwin/home/Ares/coin-Cbc/Osi/src/OsiSolverInterface.hpp:9,
> from ../../../../Cgl/src/CglLandP/CglLandPValidator.hpp:10,
> from ../../../../Cgl/src/CglLandP/CglLandP.hpp:18,
> from ../../../../Cgl/src/CglLandP/CglLandP.cpp:7:
> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinFinite.hpp: In function `bool
> CoinFinite(double)':
> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinFinite.hpp:80: error:
> `DBL_MAX' undeclared (first use this function)
> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinFinite.hpp:80: error: (Each
> undeclared identifier is reported only once for each function it appe
> ars in.)
> make[3]: *** [CglLandP.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> Cheers,
> Hacene.
> -----Message d'origine-----
> De : coin-discuss-bounces at list.coin-or.org
> [mailto:coin-discuss-bounces at list.coin-or.org]De la part de John J Forrest
> Envoyé : vendredi 13 octobre 2006 21:07
> À : Discussions about open source software for Operations Research
> Objet : Re: [Coin-discuss] Make : Error in the last version of coin-Cbc
>
>
>
> What were the lines before that - it is necessary to know where it was
> included from.
>
> John Forrest
>
>
> Hacène Ouzia <h.ouzia at gmail.com>
> Sent by: coin-discuss-bounces at list.coin-or.org
> 10/13/2006 02:23 PM Please respond to
> Discussions about open source software for Operations Research
> <coin-discuss at list.coin-or.org>
>
>
> To "Coin Or" <coin-discuss at list.coin-or.org>
> cc
> Subject [Coin-discuss] Make : Error in the last version of
> coin-Cbc
>
>
>
>
>
>
>
> Hi,
>
> I just updated my coin-Cbc copy from /svn/Cbc/trunk. The command make end
> up
> with the following error :
>
> .../coin-Cbc/CoinUtils/src/CoinFinite.hpp:80: error DBL_MAX undeclared
> first
> ....
>
> Thanks for help.
>
> Cheers,
> Hacene
>
> Hacene Ouzia
> Ph.D student
> Laboratoire d'Informatique de Paris 6.
> hacene.ouzia at lip6.fr
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
>
More information about the Coin-discuss
mailing list