[Coin-discuss] Recompiling Cbc

Ted Ralphs ted at lehigh.edu
Mon Feb 15 09:36:51 EST 2010


I will be sending out more details about this on the Cbc list in a few
days, but it's probably best not to use Cbc trunk for the next couple
of months. We will be undertaking some significant reorganization
there and, as you've already discovered, it may be a bit of a moving
target until we're finished. The work we're planning should not affect
the functionality of the code, but will hopefully make it easier for
the new team to maintain it now that John Forest has retired. At the
moment, stable 2.4 is a better option. Stay tuned for more details.

As for the CMake discussion, yes, we have discussed the possibility,
but for a number of reasons, we have decided to stick with our current
set-up for now. We may re-examine the situation in the future.

Cheers,

Ted

On Mon, Feb 15, 2010 at 4:45 AM, Alpár Jüttner <alpar at cs.elte.hu> wrote:
> 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 \
>
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>



-- 
Dr. Ted Ralphs
Associate Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted





More information about the Coin-discuss mailing list