[Ipopt] compile c example on windows

Ma Yudong mayudong at gmail.com
Sat Jul 5 21:45:12 EDT 2008


*I can successfully compile the codes, but the link failed, it shows tha*t
libIpopt.lib(IpIpoptApplication.obj) : error LNK2001: unresolved external
symbols "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class
std::_Locinfo *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?_Locinfo_ctor at _Locinfo@std@@SAXPAV12 at ABV?$basic_string at DU?$char_traits at D
@std@@V?$allocator at D@2@@2@@Z)
1>libIpopt.lib(IpOptionsList.obj) : error LNK2001: unresolved external
symbols "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class
std::_Locinfo *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?_Locinfo_ctor at _Locinfo@std@@SAXPAV12 at ABV?$basic_string at DU?$char_traits at D
@std@@V?$allocator at D@2@@2@@Z)
1>E:\work\project_IPOPT\v8\hs071_c\Release\hs071_c.exe : fatal error
LNK1120: 1 unresolved external commandOn Sun, Jul 6, 2008 at 7:51 AM, Ma
Yudong <mayudong at gmail.com> wrote:

> Hi guys:
> I am trying to complie the c example in the Ipopt package on windows, and
> now I have compiled following the instructions of the documentation and got
> alll the lib files for HSL, Lapack and Blas and Ipopt via visual studio2005.
> and also the example C codes and head files.
> How can I complie it to a exe file on visual studio 2005.
>
> --
> Thank you very much
>
> Yours
> Yudong Ma




-- 
Thank you very much

Yours
Yudong Ma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20080706/436c812e/attachment.html 


More information about the Ipopt mailing list