<div dir="ltr"><div>Pierre, thanks for replying to this e-mail and reminding me about it. Christoph, I can certainly also help with getting you building. Is there a reason you really want to build in CYGWIN? These days, Msys2 and/or Windows Subsystem for Linux are much better options. We have not really kept up the CYGWIN support, since these better options exist and since it has some "eccentricities." </div><div><br></div><div>If you really want to build with CYGWIN, then sending your config.log is a good first step. Are you building with the Microsoft compilers or with gcc? I suspect it may have something to do with specifying Windows paths rather than POSIX paths.</div><div><br></div><div>Cheers,</div><div><br></div><div>Ted </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 3, 2019 at 8:18 PM Pierre Bonami <<a href="mailto:pierre.bonami@gmail.com">pierre.bonami@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">
<div dir="auto">Dera Christoph,
<div dir="auto"><br></div>
<div dir="auto">I don’t have a windows machine so I am really unsure how to do it.</div>
<div dir="auto">Can you please send your config.log and the output of make so that I can see what is the error.</div>
<div dir="auto"><br></div>
<div dir="auto">I have not done it in a long time but compiling from windows was always painful and very long. You might consider using a virtual machine in linux.</div>
<div dir="auto"><br></div>
<div dir="auto">Best regards,</div>
<div dir="auto">Pierre</div>
</div>
</div>
<div name="messageReplySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">On 21 May 2019, 16:55 +0200, Neumann, Christoph (IOR) <<a href="mailto:christoph.neumann@kit.edu" target="_blank">christoph.neumann@kit.edu</a>>, wrote:<br>
<blockquote type="cite" class="gmail-m_-2940847741795428307spark_quote" style="margin:5px;padding-left:10px;border-left:thin solid rgb(26,188,156)">
<div class="gmail-m_-2940847741795428307WordSection1">
<p class="MsoNormal">Dear experts,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am trying to set up Bonmin 1.8.7 with CPLEX as MILP-Solver under Windows 10 using Cygwin and could really use some help. The configure script runs through successfully but I get an error message when executing the build command:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">make[1]:Leaving directory „/cygdrive/c/Programme/Bonmin-1.8.7/build/Cbc“</p>
<p class="MsoNormal">make: *** [Makefile:312: all-recursive] Error 1</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I had previously installed Bonmin (1.8.6) without CPLEX and it worked fine so I assume that the problem has to do with CPLEX even though the error occurs after leaving the Cbc folder.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Below, I provide some details that seem relevant:</p>
<p class="MsoNormal">I installed an academic version of CPLEX 12.9, obtained the required third party code for Bonmin as described in the instructions and used the command</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">./configure --with-cplex-lib="C:\Programme\IBM\ILOG\CPLEX_Studio129\cplex\lib\x64_windows_vs2017\stat_mdd\cplex1290.</p>
<p class="MsoNormal">lib" \</p>
<p class="MsoNormal">--with-cplex-incdir="C:\Programme\IBM\ILOG\CPLEX_Studio129\cplex\include\ilcplex"</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">for the configuration. It exits with the message `Main configuration of Bonmin successful`, so at least it seems that this part worked. I was a bit confused when specifying the path to the CPLEX library, as I did not find a libcplex.a file. Instead, the CPLEX-documentation  states:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">  lib\<compiler>\<libformat>:</p>
<p class="MsoNormal">                Library files that contain CPLEX (cplex1290.lib) and</p>
<p class="MsoNormal">                CPLEX extensions to the C++ version of Concert Technology (ilocplex.lib).</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">so I assumed that cplex1290.lib is the required file(?).</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">For <compiler> I had the options: <span style="font-size:10pt"><</span>x64_windows_vs2015, x64_windows_vs2017> and for <libformat>: <stat_mda, stat_mdd> and I tried out all four variations.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any help is greatly appreciated!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Kind regards</p>
<p class="MsoNormal">Christoph</p>
</div>
_______________________________________________<br>
Bonmin mailing list<br>
<a href="mailto:Bonmin@list.coin-or.org" target="_blank">Bonmin@list.coin-or.org</a><br>
<a href="https://list.coin-or.org/mailman/listinfo/bonmin" target="_blank">https://list.coin-or.org/mailman/listinfo/bonmin</a><br></blockquote>
</div>
</div>

_______________________________________________<br>
Bonmin mailing list<br>
<a href="mailto:Bonmin@list.coin-or.org" target="_blank">Bonmin@list.coin-or.org</a><br>
<a href="https://list.coin-or.org/mailman/listinfo/bonmin" rel="noreferrer" target="_blank">https://list.coin-or.org/mailman/listinfo/bonmin</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Dr. Ted Ralphs<br>Professor, Industrial and Systems Engineering<br>Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div></div></div></div></div></div></div>