[Osi] Failed to link with OsiSolverInterface
Hubert Thieriot
hubert.thieriot at mines-paristech.fr
Tue Feb 21 10:23:51 EST 2012
Dear all members,
when trying to link with libOsi.a and libOsiGlpk.a, I got undefined
symbols (I do only write a fraction of those below).
I've been compiling Osi and OsiGlpk with mingw and did not faced any
error while doing it (./configure make make install).
My linking command : g++ -enable-auto-import -mthreads -shared
-Wl,--out-implib,debug\\libdOMOptim_EIProblem.a -o
debug\dOMOptim_EIProblem.dll object_script.dOMOptim_EIProblem.Debug
-L"c:\QtSDK\Desktop\Qt\4.7.4\mingw\lib" -L..\..\Trunk/build/debug
-lOMOptim -LC:\OMDev/lib/omniORB-4.1.4-mingw/lib/x86_win32
-lomniORB414_rtd -lomnithread34_rtd -lomniDynamic414_rtd
-LC:\OMDev/lib/paradiseo-mingw/paradiseo-eo/lib -leo -leoutils
-LC:\OMDev/lib/paradiseo-mingw/paradiseo-moeo/lib -lmoeo
-LC:\OMDev/lib/qwt-5.2.1-mingw/lib -lqwtd5 -LC:\PluginEIDev/glpk/w32
-lglpk_4_47 -LC:\PluginEIDev/Osi/lib -lCoinUtils -lOsi -lOsiCommonTests
-lOsiGlpk -lQtSvgd4 -lQtXmld4 -lQtGuid4 -lQtCored4
Does one of you has any idea about the problem ?
Best regards,
Hubert
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0xd97):
undefined reference to `CoinWarmStartBasis::CoinWarmStartBasis()'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0xfdf):
undefined reference to `OsiRowCut::ub() const'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0xfea):
undefined reference to `OsiRowCut::lb() const'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0xff5):
undefined reference to `OsiRowCut::row() const'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x1ab1):
undefined reference to `CoinPackedMatrix::times(double const*, double*)
const'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x1dfb):
undefined reference to `CoinPackedMatrix::transposeTimes(double const*,
double*) const'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x224a):
undefined reference to `CoinPackedMatrix::CoinPackedMatrix()'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x2272):
undefined reference to `CoinPackedMatrix::setDimensions(int, int)'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x2308):
undefined reference to `CoinPackedMatrix::appendCol(int, int const*,
double const*)'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x2357):
undefined reference to `CoinPackedMatrix::removeGaps(double)'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x23c6):
undefined reference to `CoinPackedMatrix::CoinPackedMatrix()'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x23d4):
undefined reference to `CoinPackedMatrix::transpose()'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x23f6):
undefined reference to `CoinPackedMatrix::setDimensions(int, int)'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x248c):
undefined reference to `CoinPackedMatrix::appendRow(int, int const*,
double const*)'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x24db):
undefined reference to `CoinPackedMatrix::removeGaps(double)'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x2dd1):
undefined reference to `CoinMessageHandler::setLogLevel(int)'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x2ea5):
undefined reference to `OsiSolverInterface::OsiSolverInterface()'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x2ee7):
undefined reference to `OsiSolverInterface::~OsiSolverInterface()'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x524a):
undefined reference to `OsiSolverInterface::setInitialData()'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x56b7):
undefined reference to `CoinMessageHandler::setLogLevel(int)'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x59da):
undefined reference to `OsiSolverInterface::operator=(OsiSolverInterface
const&)'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x5a89):
undefined reference to
`OsiSolverInterface::OsiSolverInterface(OsiSolverInterface const&)'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x5ad7):
undefined reference to `OsiSolverInterface::~OsiSolverInterface()'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x5c26):
undefined reference to `OsiSolverInterface::~OsiSolverInterface()'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x5c96):
undefined reference to `OsiSolverInterface::~OsiSolverInterface()'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x5d5e):
undefined reference to `OsiSolverInterface::~OsiSolverInterface()'
C:\PluginEIDev/Osi/lib/libOsiGlpk.a(OsiGlpkSolverInterface.o):OsiGlpkSolverInterface.cpp:(.text+0x5dc6):
undefined reference to `OsiSolverInterface::~OsiSolverInterface()'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/osi/attachments/20120221/c1eaa936/attachment.html>
More information about the Osi
mailing list