[CoinUtils] Re: [Coin-discuss] stable version 1.3.3 of Clp no longer works with stable version 1.0 of CoinUtils

fmargot at andrew.cmu.edu fmargot at andrew.cmu.edu
Sat Jun 9 12:11:30 EDT 2007


Ted:

If you did that after 10:17am, Laci had already committed the fix in
Clp/stable/1.3.3.

Francois


On Fri, 8 Jun 2007, Ted Ralphs wrote:

> I just built a fresh checkout of Cgl/stable/0.5 on Linux and it worked fine.
>
> Cheers,
>
> Ted
>
> fmargot at andrew.cmu.edu wrote:
>> 
>> Compiling Cgl/stable/0.5 using as externals:
>> 
>> BuildTools    https://projects.coin-or.org/svn/BuildTools/stable/0.5
>> Data/Netlib   https://projects.coin-or.org/svn/Data/releases/1.0.0/Netlib
>> Data/Sample   https://projects.coin-or.org/svn/Data/releases/1.0.0/Sample
>> CoinUtils 
>> https://projects.coin-or.org/svn/CoinUtils/stable/1.0/CoinUtils
>> Clp           https://projects.coin-or.org/svn/Clp/stable/1.3/Clp
>> Osi           https://projects.coin-or.org/svn/Osi/stable/0.95/Osi
>> Vol           https://projects.coin-or.org/svn/Vol/stable/1.0/Vol
>> 
>> that used to work, I now get:
>> 
>> ClpMain.o: In function `main':
>> ClpMain.cpp:(.text+0x3df0): undefined reference to 
>> `CoinError::CoinError(CoinError const&)'
>> ClpMain.cpp:(.text+0x3e00): undefined reference to `CoinError::print() 
>> const'
>> ./.libs/libClp.a(ClpModel.o): In function `ClpModel::readMps(char const*, 
>> bool, bool)':
>> ClpModel.cpp:(.text+0x105cb): undefined reference to 
>> `CoinError::CoinError(CoinError const&)'
>> 
>> 
>> It seems that the creation of CoinError.*pp in CoinUtils in April is 
>> responsible for this, as CoinError.hpp is not included in ClpMain.cpp. 
>> Adding the include in ClpMain.cpp fix it. If other stable packages use the 
>> stable version 1.0 of CoinUtils and CoinError, similar modifications are 
>> needed.
>> 
>> I thought that the only changes allowed in the stable version of a package
>> should keep compatibility with other packages.
>> 
>> Francois
>> 
>> _______________________________________________
>> Coin-discuss mailing list
>> Coin-discuss at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
>
>


More information about the CoinUtils mailing list