<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Ahmed,<br>
<br>
you did not do what I told you in my previous answer! I attached a
corrected sub-makefile.<br>
<br>
For your second compiling error: The ZIMPL x86_64 sub-makefile is
missing for cygwin. I attached them as well.<br>
You might consider compiling with ZIMPL=false if you can't solve the
issue and don't need ZIMPL.<br>
<br>
all the best<br>
Matthias<br>
<br>
<br>
<div class="moz-cite-prefix">On 08.04.2016 02:55, Ahmed Hammad
wrote:<br>
</div>
<blockquote
cite="mid:SY3PR01MB0444C8725F07772B5A1CE617C6910@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><span id="ms-rterangepaste-start"></span></p>
<p>Hi Matthias,</p>
<p><br>
</p>
<p>I tried extending "CPPFLAGS" parameter but I still get the
same error. This is how I extended CPPFLAGS (I attached
"make.cygwin.x86_64.gnu" above too) :</p>
<p><br>
</p>
<div>CPPFLAGS += -m64LDFLAGS += -m64ifneq
($(OPT),opt-gccold)ifneq ($(OPT),dbgOFLAGS +=
-mtune=native # -malign-double -mcpu=pentium4 endif<br>
endif</div>
<div><br>
</div>
<div>ifeq ($(SHARED),true)<br>
LIBBUILDFLAGS += -D_WIN64 += -m64<br>
endif<br>
</div>
<br>
<div>When I tried using LEGACY=true I got the following error:</div>
<div><br>
</div>
<div>** Building ZIMPL library
"/scipoptsuite-3.2.1/zimpl-3.3.3/lib/libzimpl.cygwin.x86_64.gnu.opt.a".<br>
make[2]: Entering directory '/scipoptsuite-3.2.1/zimpl-3.3.3'<br>
Makefile:135: make/make.cygwin.x86_64.gnu.opt: No such file or
directory<br>
make[2]: *** No rule to make target
'make/make.cygwin.x86_64.gnu.opt'. Stop.<br>
make[2]: Leaving directory '/scipoptsuite-3.2.1/zimpl-3.3.3'<br>
Makefile.doit:149: recipe for target
'/scipoptsuite-3.2.1/zimpl-3.3.3/lib/libzimpl.cygwin.x86_64.gnu.opt.a'
failed<br>
make[1]: ***
[/scipoptsuite-3.2.1/zimpl-3.3.3/lib/libzimpl.cygwin.x86_64.gnu.opt.a]
Error 2<br>
make[1]: Leaving directory '/scipoptsuite-3.2.1'<br>
Makefile:87: recipe for target 'scipbinary' failed<br>
make: *** [scipbinary] Error 2<br>
</div>
<div><br>
</div>
<div>Thanks for your help</div>
<div><br>
</div>
<div>Ahmed<br>
</div>
<span id="ms-rterangepaste-end"></span><br>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
color="#000000" face="Calibri, sans-serif"><b>From:</b>
Matthias Miltenberger <a class="moz-txt-link-rfc2396E" href="mailto:miltenberger@zib.de"><miltenberger@zib.de></a><br>
<b>Sent:</b> Friday, 8 April 2016 5:20 AM<br>
<b>To:</b> Ahmed Hammad; <a class="moz-txt-link-abbreviated" href="mailto:scip@zib.de">scip@zib.de</a><br>
<b>Subject:</b> Re: [SCIP] Error compiling SCIP using
Cygwin</font>
<div> </div>
</div>
<div>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 type="cite">
<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>_______________________________________________
Scip mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.zib.de/miltenberger">www.zib.de/miltenberger</a>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:miltenberger@zib.de">miltenberger@zib.de</a>
+49 (30) 841 85-245</pre>
</div>
</div>
</div>
</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>