<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Ahmed,<br>
<br>
for some reason the flag "_WIN32" or "_WIN64" is not set when using
cygwin. You can do that manually be adjusting the corresponding
sub-makefiles "make.cygwin.x86.gnu" or "make.cygwin.x86_64.gnu" in
"soplex-2.2.1/make/":<br>
Simply add " -D_WIN32" or " -D_WIN64", respectively, in the first
line, extending the "CPPFLAGS" parameter.<br>
<br>
Hope that helps!<br>
You might also try the make option "LEGACY=true", disabling the
rational solving capabilities of SoPlex.<br>
<br>
cheers<br>
Matthias<br>
<br>
<div class="moz-cite-prefix">On 07.04.2016 12:08, Ahmed Hammad
wrote:<br>
</div>
<blockquote
cite="mid:SY3PR01MB0444FC4F358D963203BB65D1C6900@SY3PR01MB0444.ausprd01.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello all,</p>
<p><br>
</p>
<p>I have been trying to compile SCIP on windows using Cygwin.
So I downloaded scipoptsuite-3.2.1. Once I untar it and try to
built it using make I get the following error when it tries to
build the Soplex library:</p>
<p><br>
</p>
<p>-> compiling obj/O.cygwin.x86_64.gnu.opt/lib/rational.o<br>
src/rational.cpp: In function ‘std::string
soplex::rationalToString(const
soplex
::Rational&, int)’:<br>
src/rational.cpp:1970:46: error: ‘fmemopen’ was not declared
in this scope<br>
tmpStream = fmemopen(tmpString, 63, "w");<br>
^<br>
Makefile:609: recipe for target
'obj/O.cygwin.x86_64.gnu.opt/lib/rational.o'
fai
led<br>
make[3]: *** [obj/O.cygwin.x86_64.gnu.opt/lib/rational.o]
Error 1<br>
make[3]: Leaving directory '/scipoptsuite-3.2.1/soplex-2.2.1'<br>
Makefile:473: recipe for target 'makelibfile' failed<br>
make[2]: [makelibfile] Error 2 (ignored)<br>
make[3]: Entering directory '/scipoptsuite-3.2.1/soplex-2.2.1'<br>
-> compiling obj/O.cygwin.x86_64.gnu.opt/lib/rational.o<br>
src/rational.cpp: In function ‘std::string
soplex::rationalToString(const soplex::Rational&, int)’:<br>
src/rational.cpp:1970:46: error: ‘fmemopen’ was not declared
in this scope<br>
tmpStream = fmemopen(tmpString, 63, "w");<br>
</p>
<p><br>
</p>
<p>How to I deal with this. Please help</p>
<p><br>
</p>
<p>Ahmed<br>
</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="http://listserv.zib.de/mailman/listinfo/scip">http://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
\__________________
Matthias Miltenberger
Zuse Institute Berlin
Takustr. 7, 14195 Berlin
<a class="moz-txt-link-abbreviated" href="http://www.zib.de/miltenberger">www.zib.de/miltenberger</a>
<a class="moz-txt-link-abbreviated" href="mailto:miltenberger@zib.de">miltenberger@zib.de</a>
+49 (30) 841 85-245</pre>
</body>
</html>