[Ipopt-tickets] [Ipopt] #74: linker errors with Ipopt.lib
Ipopt
coin-trac at coin-or.org
Mon Apr 28 11:26:07 EDT 2008
#74: linker errors with Ipopt.lib
------------------------------+---------------------------------------------
Reporter: hgassmann | Owner: ipopt-team
Type: defect | Status: new
Priority: normal | Component: Ipopt
Version: 3.3 (C++ Version) | Severity: normal
Keywords: |
------------------------------+---------------------------------------------
Just downloaded version 3.4 stable and tried to build OSSolverService with
amplsolv and Ipopt (Blas/Lapack/HSL) under MSVS 9. After renaming the
different libraries so that there were not four libraries with the same
name Ipopt.lib (was that a mistake?) I got the following linker errors:
------ Build started: Project: OSTest, Configuration: Release-SL-stable
Win32 ------
Linking...
amplsolv.lib(fpinitmt.obj) : error LNK2005: __matherr already defined in
LIBCMT.lib(_matherr_.obj)
Creating library ..\..\..\test\unitTestSL-stable.lib and object
..\..\..\test\unitTestSL-stable.exp
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other
libs; use /NODEFAULTLIB:library
libOSnl2OSiL.lib(OSnl2osil.obj) : error LNK2019: unresolved external
symbol __CrtDbgReportW referenced in function "public: char & __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::operator[](unsigned int)"
(??A?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEAADI at Z)
libcpmtd.lib(stdthrow.obj) : error LNK2001: unresolved external symbol
__CrtDbgReportW
libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol
__malloc_dbg referenced in function "void * __cdecl operator new(unsigned
int,struct std::_DebugHeapTag_t const &,char *,int)"
(??2 at YAPAXIABU_DebugHeapTag_t@std@@PADH at Z)
libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol
__free_dbg referenced in function "void __cdecl operator delete(void
*,struct std::_DebugHeapTag_t const &,char *,int)"
(??3 at YAXPAXABU_DebugHeapTag_t@std@@PADH at Z)
libCoinBlas.lib(xerbla.obj) : error LNK2019: unresolved external symbol
_s_stop referenced in function _xerbla_
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_e_wsfe
libCoinLapack.lib(dlamch.obj) : error LNK2019: unresolved external symbol
_e_wsfe referenced in function _dlamch_
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_e_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_e_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_e_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_e_wsfe
libCoinBlas.lib(xerbla.obj) : error LNK2001: unresolved external symbol
_e_wsfe
libCoinHSL.lib(mc19ad.obj) : error LNK2001: unresolved external symbol
_e_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_e_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_e_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_do_fio
libCoinLapack.lib(dlamch.obj) : error LNK2019: unresolved external symbol
_do_fio referenced in function _dlamch_
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_do_fio
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_do_fio
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_do_fio
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_do_fio
libCoinBlas.lib(xerbla.obj) : error LNK2001: unresolved external symbol
_do_fio
libCoinHSL.lib(mc19ad.obj) : error LNK2001: unresolved external symbol
_do_fio
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_do_fio
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_do_fio
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_s_wsfe
libCoinLapack.lib(dlamch.obj) : error LNK2019: unresolved external symbol
_s_wsfe referenced in function _dlamch_
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_s_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_s_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_s_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_s_wsfe
libCoinBlas.lib(xerbla.obj) : error LNK2001: unresolved external symbol
_s_wsfe
libCoinHSL.lib(mc19ad.obj) : error LNK2001: unresolved external symbol
_s_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_s_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2001: unresolved external symbol
_s_wsfe
libCoinHSL.lib(ma27ad.obj) : error LNK2019: unresolved external symbol
_i_dnnt referenced in function _ma27hd_
libCoinLapack.lib(ilaenv.obj) : error LNK2019: unresolved external symbol
_s_cmp referenced in function _ilaenv_
libCoinLapack.lib(ilaenv.obj) : error LNK2019: unresolved external symbol
_s_copy referenced in function _ilaenv_
libCoinLapack.lib(dsteqr.obj) : error LNK2019: unresolved external symbol
_d_sign referenced in function _dsteqr_
libCoinLapack.lib(dsterf.obj) : error LNK2001: unresolved external symbol
_d_sign
libCoinLapack.lib(dlarfg.obj) : error LNK2001: unresolved external symbol
_d_sign
libCoinLapack.lib(dlamch.obj) : error LNK2019: unresolved external symbol
_pow_di referenced in function _dlamch_
libCoinLapack.lib(dlamch.obj) : error LNK2001: unresolved external symbol
_pow_di
libCoinLapack.lib(dlartg.obj) : error LNK2001: unresolved external symbol
_pow_di
libCoinLapack.lib(iparmq.obj) : error LNK2019: unresolved external symbol
_i_nint referenced in function _iparmq_
..\..\..\test\unitTestSL-stable.exe : fatal error LNK1120: 13 unresolved
externals
Build log was saved at "file://d:\OS-trunk-SL-
stable\OS\MSVisualStudio\v8\OSTest\Release-SL-stable\BuildLog.htm"
OSTest - 47 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 10 up-to-date, 0 skipped
==========
Any ideas what I am doing wrong?
Thanks a million
gus gassmann
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/74>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list