[Coin-discuss] Recompiling Cbc

Alpár Jüttner alpar at cs.elte.hu
Mon Feb 15 04:45:28 EST 2010


On Mon, 2010-02-15 at 10:18 +0100, Stefan Vigerske wrote:
> Hi,
> 
> if you have the proper versions of the autotools present
> (https://projects.coin-or.org/BuildTools/wiki/pm-get-autotools#UsingtheCorrectVersionoftheAutotools),
> then run
>   BuildTools/run_autotools Cbc
> from the project base directory.

Thanks for the link.

Have you ever considered replacing autotool with CMAKE? Our experience
is quite positive with it, especially for multi platform (i.e. Unix,
Windows) development. For example its syntax is incomparable easier,
everything is more consistent and it can generate Makefiles (GNU of
Microsoft) and VS project files, too.

And - most importantly - you need a single (and backward compatible)
build tool (CMAKE) instead of a full toolchain. Installing and using
specific versions of autoconf, automake and libtool is very
inconvenient.

> Which header file to you think is missing?

CbcCompareBase.hpp, see the patch below.

Regards,
Alpar

$ svn diff
Index: Cbc/src/Makefile.am
===================================================================
--- Cbc/src/Makefile.am	(revision 1433)
+++ Cbc/src/Makefile.am	(working copy)
@@ -357,6 +357,7 @@
 	CbcBranchLotsize.hpp \
 	CbcBranchToFixLots.hpp \
 	CbcCompareActual.hpp \
+	CbcCompareBase.hpp \
 	CbcCompareDefault.hpp \
 	CbcCompareDepth.hpp \
 	CbcCompareEstimate.hpp \
Index: Cbc/src/Makefile.in
===================================================================
--- Cbc/src/Makefile.in	(revision 1433)
+++ Cbc/src/Makefile.in	(working copy)
@@ -719,6 +719,7 @@
 	CbcBranchLotsize.hpp \
 	CbcBranchToFixLots.hpp \
 	CbcCompareActual.hpp \
+        CbcCompareBase.hpp \
 	CbcCompareDefault.hpp \
 	CbcCompareDepth.hpp \
 	CbcCompareEstimate.hpp \





More information about the Coin-discuss mailing list