[SCIP] Error compiling SCIP using Cygwin

Ahmed Hammad a.hammad at unsw.edu.au
Thu Apr 7 12:08:48 CEST 2016


Hello all,


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:


-> compiling obj/O.cygwin.x86_64.gnu.opt/lib/rational.o
src/rational.cpp: In function 'std::string soplex::rationalToString(const soplex                                                                                 ::Rational&, int)':
src/rational.cpp:1970:46: error: 'fmemopen' was not declared in this scope
       tmpStream = fmemopen(tmpString, 63, "w");
                                              ^
Makefile:609: recipe for target 'obj/O.cygwin.x86_64.gnu.opt/lib/rational.o' fai                                                                                 led
make[3]: *** [obj/O.cygwin.x86_64.gnu.opt/lib/rational.o] Error 1
make[3]: Leaving directory '/scipoptsuite-3.2.1/soplex-2.2.1'
Makefile:473: recipe for target 'makelibfile' failed
make[2]: [makelibfile] Error 2 (ignored)
make[3]: Entering directory '/scipoptsuite-3.2.1/soplex-2.2.1'
-> compiling obj/O.cygwin.x86_64.gnu.opt/lib/rational.o
src/rational.cpp: In function 'std::string soplex::rationalToString(const soplex::Rational&, int)':
src/rational.cpp:1970:46: error: 'fmemopen' was not declared in this scope
       tmpStream = fmemopen(tmpString, 63, "w");


How to I deal with this. Please help


Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20160407/7fd9671c/attachment.html>


More information about the Scip mailing list