[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
Fri Jun 8 09:35:49 EDT 2007


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




More information about the Coin-discuss mailing list