<font face="arial,helvetica,sans-serif">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>[]&#39;s<br><br></font><br><div class="gmail_quote">On Tue, Nov 16, 2010 at 1:32 PM, Wenchel, Seth <span dir="ltr">&lt;<a href="mailto:wenchel@metsci.com">wenchel@metsci.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have a 24-core server on which I&#39;d like to run Cbc 2.6.  It needs to run<br>
windows because of some other projects so I can&#39;t change it.<br>
<br>
I&#39;ve tried building Cbc using both the Cbc.sln inside MSVS 2k8 (v9) and<br>
under cygwin using gcc4.  I haven&#39;t included any of the 3rd party files.<br>
C/C++ isn&#39;t my strong suit so if these errors are really common, I<br>
apologize.  If I can get this figured out I&#39;ll happily contribute notes<br>
and/or files back to the project.  As a side note, I&#39;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;file://c:\coin-Cbc\coin-Cbc\Cbc\MSVisualStudio\v9\cbcCInterfaceDll\Debug\Bu<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&#39;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&#39;<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&#39;<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory `/cygdrive/c/Cbc/coin-Cbc/coin-Cbc/Cbc/src&#39;<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/cygdrive/c/Cbc/coin-Cbc/coin-Cbc/Cbc&#39;<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¹t solve it.<br>
But it¹s nicer if you make it later.<br>
    ~A. Rosenberg<br>
<br>
<br>
_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>=============================================================<br>Haroldo Gambini Santos<br>Computing Department - Universidade Federal de Ouro Preto - UFOP<br>email: haroldo [at ] <a href="http://iceb.ufop.br">iceb.ufop.br</a><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>