[Coin-discuss] stable version 1.3.3 of Clp no longer works with stable version 1.0 of CoinUtils
Ted Ralphs
tkralphs at lehigh.edu
Fri Jun 8 12:16:00 EDT 2007
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
--
Dr. Ted Ralphs
Associate Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
tkralphs at lehigh.edu
www.lehigh.edu/~tkr2
More information about the Coin-discuss
mailing list