<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<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) <christoph.neumann@kit.edu>, wrote:<br />
<blockquote type="cite" class="spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div class="WordSection1">
<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:10.0pt"><</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 />
Bonmin@list.coin-or.org<br />
https://list.coin-or.org/mailman/listinfo/bonmin<br /></blockquote>
</div>
</body>
</html>