[Scip] SCIP 3.1.21 build error on win 7

usa usa usact2012 at gmail.com
Thu May 21 19:06:15 CEST 2015


Hi,

I got a compile error:

----------------------------------------------------
-> generating library lib/libsoplex-2.0.1.cygwin.x86_64.gnu.opt.a

make[3]: Leaving directory
'/cygdrive/e/SCIP/scipoptsuite-3.1.1/soplex-2.0.1'
make[3]: Entering directory
'/cygdrive/e/SCIP/scipoptsuite-3.1.1/soplex-2.0.1'
-> compiling obj/O.cygwin.x86_64.gnu.opt/bin/soplexmain.o

In file included from src/basevectors.h:24:0,
                 from src/soplex.h:28,
                 from src/soplexmain.cpp:29
:
src/rational.h:120:34: warning: explicit conversion operators only
available with -std=c++11 or -std=gnu++11
       explicit operator double() const;
                                  ^
src/rational.h:123:39: warning: explicit conversion operators only
available with -std=c++11 or -std=gnu++11
       explicit operator long double() const;
                                       ^
-> linking bin/soplex-2.0.1.cygwin.x86_64.gnu.opt
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld:
skipping incompatible /cygdrive/e/GMP/install/lib/libgmp.a when searching
for -lgmp

/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld:
skipping incompatible /cygdrive/e/GMP/install/lib/libgmp.a when searching
for -lgmp

/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld:
skipping incompatible /cygdrive/e/GMP/install/lib/libgmp.a when searching
for -lgmp

/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld:
cannot find -lgmp
collect2: error: ld returned 1 exit status

--------------------------------------------------

the gmp version is 6.0.0, I got it from

    https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2

on

    https://gmplib.org/


Any help would be appreciated.

thanks



On Thu, May 21, 2015 at 11:14 AM, Matthias Miltenberger <miltenberger at zib.de
> wrote:

>  You have been asking this question before:
> http://listserv.zib.de/pipermail/scip/2015-April/002391.html
>
> Was the suggested solution not working?
>
> all the best
> Matthias
>
>
> On 21.05.2015 17:03, usa usa wrote:
>
>      Hi,
>
>  I have downloaded SCIP source code from
>
>  http://scip.zib.de/download.php?fname=scipoptsuite-3.1.1.tgz
>
>  I followed the instructions in INSTALL file.
>
>  But, when I ran
>
>     make
>
>  in Cygwin 64-bits on win7,
>
>  I got error:
>
>     $ make
>
> make[1]: Entering directory '/cygdrive/e/SCIP/scipoptsuite-3.1.1'
> ** Creating directory
> "/cygdrive/e//SCIP/scipoptsuite-3.1.1/scip-3.1.1/lib".
> ** Creating directory
> "/cygdrive/e/SCIP/scipoptsuite-3.1.1/scip-3.1.1/lib/zimplinc".
>
> ** Building SoPlex library
> "/cygdrive/e//SCIP/scipoptsuite-3.1.1/soplex-2.0.1/lib/libsoplex.cygwin.x86_64.gnu.opt.a".
>
> make[2]: Entering directory
> '/cygdrive/e//SCIP/scipoptsuite-3.1.1/soplex-2.0.1'
> Makefile:266: make/make.cygwin.x86_64.gnu.opt: No such file or directory
>
> make[2]: *** No rule to make target 'make/make.cygwin.x86_64.gnu.opt'.
> Stop.
>
> make[2]: Leaving directory
> '/cygdrive/e//SCIP/scipoptsuite-3.1.1/soplex-2.0.1'
>
> Makefile.doit:137: recipe for target
> '/cygdrive/e//SCIP/scipoptsuite-3.1.1/soplex-2.0.1/lib/libsoplex.cygwin.x86_64.gnu.opt.a'
> failed
>
> make[1]: ***
> [/cygdrive/e/SCIP/scipoptsuite-3.1.1/soplex-2.0.1/lib/libsoplex.cygwin.x86_64.gnu.opt.a]
> Error 2
>
> make[1]: Leaving directory '/cygdrive/e//SCIP/scipoptsuite-3.1.1'
>
> Makefile:85: recipe for target 'scipbinary' failed
>
> make: *** [scipbinary] Error 2
>
>  How to build SCIP on win 7 ?
>
>  Any help would be appreciated.
>
>  Thanks
>
>
>
>
>
> _______________________________________________
> Scip mailing listScip at zib.dehttp://listserv.zib.de/mailman/listinfo/scip
>
>
> --
> \__________________
>
> Matthias Miltenberger
> Zuse Institute Berlin
> Takustr. 7, 14195 Berlinwww.zib.de/miltenbergermiltenberger at zib.de+49 (30) 841 85-245
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20150521/95ff9479/attachment.html>


More information about the Scip mailing list