<HTML>
<HEAD>
<TITLE>Re: [Cbc] Compiling on Windows</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I had looked there, but since the newest windows binary is more than 3 years old, I was hoping to take advantage of some of the improvements since then (under the assumption that Cbc 2.6 is significantly better than 1.x).<BR>
cheers<BR>
seth<BR>
</SPAN></FONT><SPAN STYLE='font-size:11pt'><FONT FACE="Courier New"><BR>
Seth S. Wenchel<BR>
<BR>
Sooner or later any problem will get big enough that you can&#8217;t solve it.<BR>
But it&#8217;s nicer if you make it later.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;~A. Rosenberg<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Haroldo Santos &lt;<a href="haroldo.santos@gmail.com">haroldo.santos@gmail.com</a>&gt;<BR>
<B>Date: </B>Tue, 16 Nov 2010 15:16:30 -0200<BR>
<B>To: </B>Seth Wenchel &lt;<a href="wenchel@metsci.com">wenchel@metsci.com</a>&gt;<BR>
<B>Cc: </B>&lt;<a href="cbc@list.coin-or.org">cbc@list.coin-or.org</a>&gt;<BR>
<B>Subject: </B>Re: [Cbc] Compiling on Windows<BR>
<BR>
</FONT><FONT FACE="Arial">Hi Seth,<BR>
<BR>
Perhaps you should try the CoinBinary project, which provides pre-compiled binaries ready to use for unix and windows.<BR>
<BR>
<a href="https://projects.coin-or.org/CoinBinary">https://projects.coin-or.org/CoinBinary</a><BR>
<BR>
[]'s<BR>
<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
On Tue, Nov 16, 2010 at 1:32 PM, Wenchel, Seth &lt;<a href="wenchel@metsci.com">wenchel@metsci.com</a>&gt; wrote:<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial">I have a 24-core server on which I'd like to run Cbc 2.6.  It needs to run<BR>
windows because of some other projects so I can't change it.<BR>
<BR>
I've tried building Cbc using both the Cbc.sln inside MSVS 2k8 (v9) and<BR>
under cygwin using gcc4.  I haven't included any of the 3rd party files.<BR>
C/C++ isn't my strong suit so if these errors are really common, I<BR>
apologize.  If I can get this figured out I'll happily contribute notes<BR>
and/or files back to the project.  As a side note, I've successfully built<BR>
Cbc on my Mac using the online instructions.<BR>
<BR>
MSVS<BR>
After updating the include directories for the Osi* files, I was able to get<BR>
everything to build but had the following linking error.<BR>
<BR>
1&gt;------ Build started: Project: cbcCInterfaceDll, Configuration: Debug<BR>
Win32 ------<BR>
1&gt;Linking...<BR>
1&gt;   Creating library Debug/cbcCInterfaceDll.lib and object<BR>
Debug/cbcCInterfaceDll.exp<BR>
1&gt;libcgl.lib(OsiSolverInterface.obj) : error LNK2019: unresolved external<BR>
symbol &quot;public: __thiscall OsiAuxInfo::OsiAuxInfo(void *)&quot;<BR>
(??0OsiAuxInfo@@QAE@PAX@Z) referenced in function &quot;public: void __thiscall<BR>
OsiSolverInterface::setApplicationData(void *)&quot;<BR>
(?setApplicationData@OsiSolverInterface@@QAEXPAX@Z)<BR>
1&gt;libcbc.lib(CbcModel.obj) : error LNK2019: unresolved external symbol<BR>
&quot;public: bool __thiscall OsiBabSolver::mipFeasible(void)const &quot;<BR>
(?mipFeasible@OsiBabSolver@@QBE_NXZ) referenced in function &quot;public: void<BR>
__thiscall CbcModel::branchAndBound(int)&quot;<BR>
(?branchAndBound@CbcModel@@QAEXH@Z)<BR>
1&gt;libcbc.lib(CbcModel.obj) : error LNK2019: unresolved external symbol<BR>
&quot;public: virtual __thiscall OsiBabSolver::~OsiBabSolver(void)&quot;<BR>
(??1OsiBabSolver@@UAE@XZ) referenced in function &quot;public: void __thiscall<BR>
CbcModel::branchAndBound(int)&quot; (?branchAndBound@CbcModel@@QAEXH@Z)<BR>
1&gt;libcbc.lib(CbcModel.obj) : error LNK2019: unresolved external symbol<BR>
&quot;public: __thiscall OsiBabSolver::OsiBabSolver(int)&quot;<BR>
(??0OsiBabSolver@@QAE@H@Z) referenced in function &quot;public: void __thiscall<BR>
CbcModel::branchAndBound(int)&quot; (?branchAndBound@CbcModel@@QAEXH@Z)<BR>
1&gt;libcbc.lib(CbcModel.obj) : error LNK2019: unresolved external symbol<BR>
&quot;public: int __thiscall OsiBabSolver::solution(double &amp;,double *,int)&quot;<BR>
(?solution@OsiBabSolver@@QAEHAANPANH@Z) referenced in function &quot;public:<BR>
double __thiscall CbcModel::checkSolution(double,double *,int,double)&quot;<BR>
(?checkSolution@CbcModel@@QAENNPANHN@Z)<BR>
1&gt;libcbc.lib(CbcHeuristic.obj) : error LNK2001: unresolved external symbol<BR>
&quot;public: int __thiscall OsiBabSolver::solution(double &amp;,double *,int)&quot;<BR>
(?solution@OsiBabSolver@@QAEHAANPANH@Z)<BR>
1&gt;libcbc.lib(CbcModel.obj) : error LNK2019: unresolved external symbol<BR>
&quot;public: double __thiscall OsiBabSolver::mipBound(void)const &quot;<BR>
(?mipBound@OsiBabSolver@@QBENXZ) referenced in function &quot;public: void<BR>
__thiscall CbcModel::setObjectiveValue(class CbcNode *,class CbcNode const<BR>
*)const &quot; (?setObjectiveValue@CbcModel@@QBEXPAVCbcNode@@PBV2@@Z)<BR>
1&gt;c:\coin-Cbc\coin-Cbc\Cbc\MSVisualStudio\v9\cbcCInterfaceDll\../../cbcCInte<BR>
rfacegDll.dll : fatal error LNK1120: 6 unresolved externals<BR>
1&gt;Build log was saved at<BR>
&quot;<a href="file://c:\coin-Cbc\coin-Cbc\Cbc\MSVisualStudio\v9\cbcCInterfaceDll\Debug\Bu">file://c:\coin-Cbc\coin-Cbc\Cbc\MSVisualStudio\v9\cbcCInterfaceDll\Debug\Bu</a><BR>
ildLog.htm&quot;<BR>
1&gt;cbcCInterfaceDll - 8 error(s), 0 warning(s)<BR>
========== Build: 0 succeeded, 1 failed, 6 up-to-date, 0 skipped ==========<BR>
<BR>
CYGWIN<BR>
./configure ends with the correct message as noted but make fails.  I've<BR>
only included the last portion of the output, but send the rest if needed.<BR>
<BR>
/cygdrive/c/Cbc/coin-Cbc/coin-Cbc/Clp/src/.libs/libClp.a(ClpFactorization.o)<BR>
:Clp<BR>
Factorization.cpp:(.text+0x5b6): undefined reference to<BR>
`CoinFactorization::upda<BR>
teColumn(CoinIndexedVector*, CoinIndexedVector*, bool) const'<BR>
collect2: ld returned 1 exit status<BR>
make[3]: *** [cbc.exe] Error 1<BR>
make[3]: Leaving directory `/cygdrive/c/Cbc/coin-Cbc/coin-Cbc/Cbc/src'<BR>
make[2]: *** [all-recursive] Error 1<BR>
make[2]: Leaving directory `/cygdrive/c/Cbc/coin-Cbc/coin-Cbc/Cbc/src'<BR>
make[1]: *** [all-recursive] Error 1<BR>
make[1]: Leaving directory `/cygdrive/c/Cbc/coin-Cbc/coin-Cbc/Cbc'<BR>
make: *** [all-recursive] Error 1<BR>
<BR>
Cheers<BR>
seth<BR>
<BR>
Seth S. Wenchel<BR>
Metron, Inc.<BR>
<BR>
Sooner or later any problem will get big enough that you can&#8217;t solve it.<BR>
But it&#8217;s nicer if you make it later.<BR>
&nbsp;   ~A. Rosenberg<BR>
<BR>
<BR>
_______________________________________________<BR>
Cbc mailing list<BR>
<a href="Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><BR>
<a href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a><BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
<BR>
<BR>
-- <BR>
=============================================================<BR>
Haroldo Gambini Santos<BR>
Computing Department - Universidade Federal de Ouro Preto - UFOP<BR>
email: haroldo [at ] iceb.ufop.br &lt;<a href="http://iceb.ufop.br">http://iceb.ufop.br</a>&gt; <BR>
home/research page: <a href="http://www.iceb.ufop.br/decom/prof/haroldo/">http://www.iceb.ufop.br/decom/prof/haroldo/</a><BR>
 <BR>
&quot;Computer science is no more about computers than astronomy <BR>
is about telescopes.&quot; Edsger Dijkstra<BR>
 <BR>
<BR>
</FONT></SPAN>
</BODY>
</HTML>