[Ipopt] ***HELP PLEASE*** Problem with Compiling hs071 in IpOpt 3.9.0 under VS 2005
learning systematic
learningsystematic at gmail.com
Sun Feb 27 05:09:23 EST 2011
Hi all,
I have got stuck with IPOPT under VS2008, I really need to solve it ASAP.
Please help me.
after getting all third party code and having created vcf2c.lib, I was able
to compile all the libs in the VS project (Blas, Lapack, HSL, and finally
IPOPT).
I made sure that all the projects are Multi-Threaded and are compiled in
"Released" mode.
However the example couldn't link, and I got the following errors.
I will appreciate if anybody has any idea to resolve these problems.
Thanks,
John
------ Rebuild All started: Project: hs071_cpp, Configuration: Release Win32
------
Deleting intermediate and output files for project 'hs071_cpp',
configuration 'Release|Win32'
Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will
be removed in a future release
hs071_nlp.cpp
hs071_main.cpp
Generating Code...
Linking...
libipopt.lib(IpExpandedMultiVectorMatrix.obj) : warning LNK4049: locally
defined symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported
libipopt.lib(IpSumMatrix.obj) : warning LNK4049: locally defined symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported
libipopt.lib(IpFilter.obj) : warning LNK4217: locally defined symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported in function "public: bool __thiscall
std::list<class Ipopt::FilterEntry *,class std::allocator<class
Ipopt::FilterEntry *> >::_Const_iterator<1>::operator==(class
std::list<class Ipopt::FilterEntry *,class std::allocator<class
Ipopt::FilterEntry *> >::_Const_iterator<1> const &)const "
(??8?$_Const_iterator@$00@?$list at PAVFilterEntry@Ipopt@@V?$allocator at PAVFilte
rEntry at Ipopt@@@std@@@std@@QBE_NABV012@@Z)
libipopt.lib(IpPiecewisePenalty.obj) : warning LNK4049: locally defined
symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported
libipopt.lib(IpSumSymMatrix.obj) : warning LNK4049: locally defined symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported
libipopt.lib(IpDiagMatrix.obj) : warning LNK4049: locally defined symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported
libipopt.lib(IpMultiVectorMatrix.obj) : warning LNK4049: locally defined
symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported
libipopt.lib(IpDenseGenMatrix.obj) : warning LNK4049: locally defined symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported
libipopt.lib(IpDenseSymMatrix.obj) : warning LNK4217: locally defined symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported in function "private: double *
__thiscall Ipopt::DenseVector::values_allocated(void)"
(?values_allocated at DenseVector@Ipopt@@AAEPANXZ)
libipopt.lib(IpCompoundSymMatrix.obj) : warning LNK4049: locally defined
symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported
libipopt.lib(IpRestoConvCheck.obj) : warning LNK4049: locally defined symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported
libipopt.lib(IpTripletHelper.obj) : warning LNK4217: locally defined symbol
??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ
(public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)) imported in function "private: static void
__cdecl Ipopt::TripletHelper::FillRowCol_(int,class Ipopt::GenTMatrix const
&,int,int,int *,int *)"
(?FillRowCol_ at TripletHelper@Ipopt@@CAXHABVGenTMatrix at 2@HHPAH1 at Z)
libipopt.lib(IpIpoptCalculatedQuantities.obj) : error LNK2001: unresolved
external symbol __imp__memmove_s
libipopt.lib(IpJournalist.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: char const & __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::operator[](unsigned int)const "
(__imp_??A?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QBEAB
DI at Z) referenced in function "public: virtual void
libcoinlapack.lib(dlatrd.obj) : error LNK2001: unresolved external symbol
_f2c_dsymv
libcoinlapack.lib(dlarfb.obj) : error LNK2019: unresolved external symbol
_f2c_dtrmm referenced in function _dlarfb_
libcoinlapack.lib(dlarfb.obj) : error LNK2019: unresolved external symbol
_f2c_dcopy referenced in function _dlarfb_
libcoinlapack.lib(dlarft.obj) : error LNK2019: unresolved external symbol
_f2c_dtrmv referenced in function _dlarft_
libcoinlapack.lib(dlarfg.obj) : error LNK2019: unresolved external symbol
_f2c_dnrm2 referenced in function _dlarfg_
vcf2c.lib(s_stop.obj) : error LNK2019: unresolved external symbol _exit
referenced in function _s_stop
vcf2c.lib(sig_die.obj) : error LNK2001: unresolved external symbol _exit
vcf2c.lib(s_stop.obj) : error LNK2019: unresolved external symbol _putc
referenced in function _s_stop
LINK : error LNK2001: unresolved external symbol __load_config_used
Release/hs071_cpp.exe : fatal error LNK1120: 162 unresolved externals
hs071_cpp - 1656 error(s), 159 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20110227/9c8f4803/attachment-0001.html
More information about the Ipopt
mailing list