[Coin-osi-devel] a very simple question about OSI under VS2005
kmartin
kipp.martin at chicagogsb.edu
Tue Jun 6 03:03:51 EDT 2006
Hi:
The binary distribution for Visual Studio .NET was created with Version
7. Tonight I downloaded Visual Studio Express Version 8.0. I was able
to get the CoinUtils library to compile with no problem. However, I had
several link errors
libCoinUtils.lib(CoinPresolveDual.obj) : error LNK2001: unresolved
external symbol ___CxxFrameHandler3
libCoinUtils.lib(CoinPresolveSingleton.obj) : error LNK2001: unresolved
external symbol ___CxxFrameHandler3
libCoinUtils.lib(CoinPresolveFixed.obj) : error LNK2001: unresolved
external symbol ___CxxFrameHandler3
libCoinUtils.lib(CoinPrePostsolveMatrix.obj) : error LNK2001: unresolved
external symbol ___CxxFrameHandler3
libCoinUtils.lib(CoinPresolveForcing.obj) : error LNK2001: unresolved
external symbol ___CxxFrameHandler3
libCoinUtils.lib(CoinPresolveTighten.obj) : erro
when trying to link when creating the unitTest.
Right now COIN is in the process of moving to subversion. When this is
complete I will investigate this problem further.
Regards,
coin-osi-devel-request at list.coin-or.org wrote:
> Send Coin-osi-devel mailing list submissions to
> coin-osi-devel at list.coin-or.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://list.coin-or.org/mailman/listinfo/coin-osi-devel
> or, via email, send a message with subject or body 'help' to
> coin-osi-devel-request at list.coin-or.org
>
> You can reach the person managing the list at
> coin-osi-devel-owner at list.coin-or.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Coin-osi-devel digest..."
>
>
> ------------------------------------------------------------------------
>
> Today's Topics:
>
> 1. a very simple question about OSI under VS2005 (Pan,Zhendong)
>
>
> ------------------------------------------------------------------------
>
> MIME-Version:
> 1.0
> Content-type:
> message/rfc822
>
>
>
> ------------------------------------------------------------------------
>
> Subject:
> [Coin-osi-devel] a very simple question about OSI under VS2005
> From:
> "Pan,Zhendong" <zhendongpan at gmail.com>
> Date:
> Mon, 05 Jun 2006 14:24:44 +0800
> To:
> coin-osi-devel <coin-osi-devel at list.coin-or.org>
>
> To:
> coin-osi-devel <coin-osi-devel at list.coin-or.org>
>
> Message-ID:
> <4483ce2f.6dc09826.6e0e.ffffcd75 at mx.gmail.com>
> MIME-Version:
> 1.0
> Content-type:
> text/plain; charset=gb2312
> Content-transfer-encoding:
> 8BIT
> Precedence:
> list
> Message:
> 1
>
>
> coin-osi-devel,hello,
> I am trying to use OSIclp to solve some LP problems under VC. Since I am not good at computer, I used the compiled version coin-win32-msvc7-13Feb06-compiled.zip. However, I think my VC is version 8.0, the following linking problem appear:
>
>
> 1>------ Build started: Project: IIDPunderFVC, Configuration: Debug Win32 ------
> 1>Linking...
> 1>msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)" (?setstate@?$basic_ios at DU?$char_traits at D@std@@@std@@QAEXH_N at Z) already defined in libCoin.lib(CoinPackedMatrix.o)
> .................
> 1>msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (?_Osfx@?$basic_ostream at DU?$char_traits at D@std@@@std@@QAEXXZ) already defined in libCoin.lib(CoinPackedMatrix.o)
> 1>msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" (?_Lock@?$basic_streambuf at DU?$char_traits at D@std@@@std@@QAEXXZ) already defined in libCoin.lib(CoinPackedMatrix.o)
> 1>msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" (?_Unlock@?$basic_streambuf at DU?$char_traits at D@std@@@std@@QAEXXZ) already defined in libCoin.lib(CoinPackedMatrix.o)
> 1>LINK : fatal error LNK1104: cannot open file 'libcp.lib'
>
> I don't find any libcp.lib files in the "lib" foler. and I just copied the lib files into "C:\Program Files\Microsoft Visual Studio 8\VC\lib".
> Can somebody tell me what is the problem, and how to fix it?
> Thank you.
> With regards!
>
>
> Pan,Zhendong
> ZhendongPan at gmail.com
> 2006-06-05
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Coin-osi-devel mailing list
> Coin-osi-devel at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-osi-devel
--
Kipp Martin
Professor of Operations Research
and Computing Technology
University of Chicago
Graduate School of Business
5807 South Woodlawn Avenue
Chicago IL 60637
773-702-7456
More information about the Osi
mailing list