<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi everyone, thank you for accepting the request to join the
list,<br>
</p>
<p>After carefully installing minGW and SCIP, following these
instructions: <a href="http://scip.zib.de/doc/html/MAKE.php"
target="_blank">http://scip.zib.de/doc/html/MAKE.php</a></p>
<p>I seem to have compiled and installed zlib-1.2.3, pcre-7.0-lib
and gmp-6.1.0.</p>
<p>When installing SCIP 3.2.1, the make READLINE=false in a MSYS
window I get this:</p>
<p>$ make READLINE=false<br>
make[1]: Entering directory `/c/scip'<br>
** Creating directory "/c/scip/scip-3.2.1/lib/zimplinc".<br>
<br>
** Building SoPlex library
"/c/scip/soplex-2.2.1/lib/libsoplex.mingw.x86.gnu.opt<br>
.a".<br>
make[2]: Entering directory `/c/scip/soplex-2.2.1'<br>
make[3]: Entering directory `/c/scip/soplex-2.2.1'<br>
make[3]: Leaving directory `/c/scip/soplex-2.2.1'<br>
make[3]: Entering directory `/c/scip/soplex-2.2.1'<br>
-> compiling obj/O.mingw.x86.gnu.opt/lib/changesoplex.o<br>
src/changesoplex.cpp:1: error: bad value (native) for -mtune=
switch<br>
make[3]: *** [obj/O.mingw.x86.gnu.opt/lib/changesoplex.o] Error 1<br>
make[3]: Leaving directory `/c/scip/soplex-2.2.1'<br>
make[2]: [makelibfile] Error 2 (ignored)<br>
make[3]: Entering directory `/c/scip/soplex-2.2.1'<br>
-> compiling obj/O.mingw.x86.gnu.opt/lib/changesoplex.o<br>
src/changesoplex.cpp:1: error: bad value (native) for -mtune=
switch<br>
make[3]: *** [obj/O.mingw.x86.gnu.opt/lib/changesoplex.o] Error 1<br>
make[3]: Leaving directory `/c/scip/soplex-2.2.1'<br>
make[2]: [all] Error 2 (ignored)<br>
make[2]: Leaving directory `/c/scip/soplex-2.2.1'<br>
<br>
** Building ZIMPL library
"/c/scip/zimpl-3.3.3/lib/libzimpl.mingw.x86.gnu.opt.a"<br>
.<br>
make[2]: Entering directory `/c/scip/zimpl-3.3.3'<br>
-> compiling obj/O.mingw.x86.gnu.normal.opt/iread.o<br>
src/iread.c:40:18: zlib.h: No such file or directory<br>
make[2]: *** [obj/O.mingw.x86.gnu.normal.opt/iread.o] Error 1<br>
make[2]: Leaving directory `/c/scip/zimpl-3.3.3'<br>
make[1]: ***
[/c/scip/zimpl-3.3.3/lib/libzimpl.mingw.x86.gnu.opt.a] Error 2<br>
make[1]: Leaving directory `/c/scip'<br>
make: *** [scipbinary] Error 2<br>
</p>
<br>
I am clueless about the inability to compile SOPLEX as those
-mtune=switch errors are killing me.<br>
As for ZIMPL I do not understand why zlib.h is not present as this
is what I get when I compile zlib:<br>
<br>
"<br>
Ruben@CasaRuben /zlib-1.2.3-src/src/zlib/1.2.3/zlib-1.2.3<br>
$ configure --prefix=/minGW<br>
Checking for gcc...<br>
Building static library libz.a version 1.2.3 with gcc.<br>
Checking for unistd.h... Yes.<br>
Checking whether to use vs[n]printf() or s[n]printf()... using
vs[n]printf()<br>
Checking for vsnprintf() in stdio.h... Yes.<br>
Checking for return value of vsnprintf()... Yes.<br>
Checking for errno.h... Yes.<br>
Checking for mmap support... Yes.<br>
<br>
Ruben@CasaRuben /zlib-1.2.3-src/src/zlib/1.2.3/zlib-1.2.3<br>
$ make<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o example.o example.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o adler32.o adler32.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o compress.o compress.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o crc32.o crc32.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o gzio.o gzio.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o uncompr.o uncompr.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o deflate.o deflate.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o trees.o trees.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o zutil.o zutil.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o inflate.o inflate.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o infback.o infback.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o inftrees.o inftrees.c<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o inffast.o inffast.c<br>
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o
trees.o zut<br>
il.o inflate.o infback.o inftrees.o inffast.o<br>
gcc -O3 -DUSE_MMAP -o example example.o -L. libz.a<br>
gcc -O3 -DUSE_MMAPÂ Â -c -o minigzip.o minigzip.c<br>
gcc -O3 -DUSE_MMAP -o minigzip minigzip.o -L. libz.a<br>
<br>
Ruben@CasaRuben /zlib-1.2.3-src/src/zlib/1.2.3/zlib-1.2.3<br>
<br>
$ make install<br>
cp zlib.h zconf.h /minGW/include<br>
chmod 644 /minGW/include/zlib.h /minGW/include/zconf.h<br>
cp libz.a /minGW/lib<br>
cd /minGW/lib; chmod 755 libz.a<br>
cd /minGW/lib; if test -f libz.so.1.2.3; then \<br>
         rm -f libz.so libz.so.1; \<br>
         ln -s libz.so.1.2.3 libz.so; \<br>
         ln -s libz.so.1.2.3 libz.so.1; \<br>
         (ldconfig || true) >/dev/null 2>&1; \<br>
       fi<br>
cp zlib.3 /minGW/share/man/man3<br>
chmod 644 /minGW/share/man/man3/zlib.3<br>
<br>
Ruben@CasaRuben /zlib-1.2.3-src/src/zlib/1.2.3/zlib-1.2.3<br>
"<br>
<br>
The system's path environment var contains:<br>
<br>
C:\MinGW;<br>
C:\MinGW\lib;<br>
C:\MinGW\bin;<br>
C:\MinGW\msys\1.0;<br>
C:\MinGW\msys\1.0\bin;<br>
C:\MinGW\msys\1.0\local\bin;<br>
C:\scip\src\objscip;<br>
C:\scip\src\scip;<br>
C:\scip\src;<br>
C:\scip;<br>
<br>
Any idea where I am goofing up?<br>
<br>
I need to compile a code that uses SCIP. It is not my code but
somebody else's and it was compiled under linux (Debian). I want to
compile it in windows and the first step is to compile SCIP.<br>
<br>
I have installed Debian 8.5 distro on a VM using VirtualBox and have
managed to install SCIP, but I had to use make ZLIB=false
READLINE=false ZIMPL=false (even after downloading, compiling all
installing zlib, pcre, gmp and readline) but that is for another
post... Also for another post the possibility of cross-compiling to
Windows on Debian...<br>
<br>
Thank you very much in advance. Your help is very much appreciated.<br>
<br>
Best,
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
<small><big>Rubén Ruiz GarcÃa</big><br>
Full Professor. Head of the <a href="http://soa.iti.es">Applied
Optimization Systems Group</a><br>
<br>
Department of Applied Statistics, Operations Research and
Quality<br>
<a href="http://www.upv.es/">Universitat Politècnica de València</a><br>
Camino de Vera s/n, Edificio 7A, 46022, Valencia, Spain<br>
<a href="mailto:rruiz@eio.upv.es">rruiz@eio.upv.es</a><br>
<a href="http://soa.iti.es/rruiz">http://soa.iti.es/rruiz</a><br>
<br>
Editor-in-Chief<br>
<a
href="http://www.journals.elsevier.com/operations-research-perspectives/">Operations
Research Perspectives</a></small><br>
<br>
<a
href="http://www.journals.elsevier.com/operations-research-perspectives/"><img
alt="Operations Research Perspectives"
src="cid:part7.9378F6B1.3470F8D8@eio.upv.es" height="90"
border="0" width="728"></a><br>
<br>
<small><a href="http://www.inderscience.com/ejie">European Journal
of Industrial Engineering</a><br>
</small><br>
--<br>
<font color="#666666"><small>I am a great believer in luck, and I
find that the harder I work, the more I have of it.<br>
                  Thomas Jefferson</small></font><br>
</div>
</body>
</html>