<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Dear Benjamin,</p>
    <p>Thank you very much for your quick response. Awesome.</p>
    <p>Well, this is rather strange, according to MinGW Installation
      manager I have gcc 4.9..3-1 in the MinGW base system. However,
      opening a MSYS window and going gcc --version throws a 3.4.4
      version (msys special). <br>
    </p>
    <p>Tried these commands in the MSYS window:</p>
    <p>mingw-get install gcc<br>
      mingw-get install gcc g++ mingw32-make<br>
      mingw-get update<br>
      mingw-get upgrade</p>
    <p>But gcc version still listed as 3.4.4</p>
    <p>Arg... I solve a problem, another pops up.<br>
    </p>
    <p>On a side note, I added the path variable. Command make on SCIP
      still fails to find zlib.h</p>
    <p>Sorry, I look like a noob.</p>
    <p>Best,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">El 13/06/2016 a las 11:03, Benjamin
      Müller escribió:<br>
    </div>
    <blockquote cite="mid:575E76E4.8050205@zib.de" type="cite">Dear
      Ruben,
      <br>
      <br>
      I just tried the same and I did not have any problems with the
      -mtune=native option. Could it be that your gcc compiler is too
      old (I use 4.9.3 on my MinGW)?
      <br>
      <br>
      I guess the problem why it can not find zlib.h when compiling
      ZIMPL is that "C:\MinGW\include" is missing in your path variable.
      Can you add it and try if ZIMPL now compiles? Please send me the
      output with VERBOSE=true if you get any error.
      <br>
      <br>
      <br>
      Best,
      <br>
      Benny
      <br>
      <br>
      <br>
      On 06/13/2016 09:25 AM, Rubén Ruiz wrote:
      <br>
      <blockquote type="cite">Hi everyone, thank you for accepting the
        request to join the list,
        <br>
        <br>
        After carefully installing minGW and SCIP, following these
        instructions:
        <br>
        <a class="moz-txt-link-freetext" href="http://scip.zib.de/doc/html/MAKE.php">http://scip.zib.de/doc/html/MAKE.php</a>
        <br>
        <br>
        I seem to have compiled and installed zlib-1.2.3, pcre-7.0-lib
        and
        <br>
        gmp-6.1.0.
        <br>
        <br>
        When installing SCIP 3.2.1, the make READLINE=false in a MSYS
        window I
        <br>
        get this:
        <br>
        <br>
        $ 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
        <br>
        "/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
        <br>
        "/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>
        <br>
        <br>
        I am clueless about the inability to compile SOPLEX as those
        <br>
        -mtune=switch errors are killing me.
        <br>
        As for ZIMPL I do not understand why zlib.h is not present as
        this is
        <br>
        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
        <br>
        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
        <br>
        else's and it was compiled under linux (Debian). I want to
        compile it in
        <br>
        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
        <br>
        managed to install SCIP, but I had to use make ZLIB=false
        READLINE=false
        <br>
        ZIMPL=false  (even after downloading, compiling all installing
        zlib,
        <br>
        pcre, gmp and readline) but that is for another post... Also for
        another
        <br>
        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,
        <br>
        --
        <br>
        Rubén Ruiz García
        <br>
        Full Professor. Head of the Applied Optimization Systems Group
        <br>
        <a class="moz-txt-link-rfc2396E" href="http://soa.iti.es"><http://soa.iti.es></a>
        <br>
        <br>
        Department of Applied Statistics, Operations Research and
        Quality
        <br>
        Universitat Politècnica de València <a class="moz-txt-link-rfc2396E" href="http://www.upv.es/"><http://www.upv.es/></a>
        <br>
        Camino de Vera s/n, Edificio 7A, 46022, Valencia, Spain
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:rruiz@eio.upv.es">rruiz@eio.upv.es</a> <a class="moz-txt-link-rfc2396E" href="mailto:rruiz@eio.upv.es"><mailto:rruiz@eio.upv.es></a>
        <br>
        <a class="moz-txt-link-freetext" href="http://soa.iti.es/rruiz">http://soa.iti.es/rruiz</a>
        <br>
        <br>
        Editor-in-Chief
        <br>
        Operations Research Perspectives
        <br>
<a class="moz-txt-link-rfc2396E" href="http://www.journals.elsevier.com/operations-research-perspectives/"><http://www.journals.elsevier.com/operations-research-perspectives/></a>
        <br>
        <br>
        Operations Research Perspectives
        <br>
<a class="moz-txt-link-rfc2396E" href="http://www.journals.elsevier.com/operations-research-perspectives/"><http://www.journals.elsevier.com/operations-research-perspectives/></a>
        <br>
        <br>
        European Journal of Industrial Engineering
        <br>
        <a class="moz-txt-link-rfc2396E" href="http://www.inderscience.com/ejie"><http://www.inderscience.com/ejie></a>
        <br>
        <br>
        --
        <br>
        I am a great believer in luck, and I find that the harder I
        work, the
        <br>
        more I have of it.
        <br>
                                 Thomas Jefferson
        <br>
        <br>
        <br>
        _______________________________________________
        <br>
        Scip mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
        <br>
        <a class="moz-txt-link-freetext" href="http://listserv.zib.de/mailman/listinfo/scip">http://listserv.zib.de/mailman/listinfo/scip</a>
        <br>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <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:part6.EDA4C0A0.01B70A74@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>