[Scip] SCIP 3.1.21 build error on win 7
Ambros Gleixner
gleixner at zib.de
Tue May 26 17:34:43 CEST 2015
Hi,
the content of your make.lastsettings looks strange. Try to delete the
file (in the "obj" subfolders) manually. If that does not help, try
deleting the line
-include $(LASTSETTINGS)
in the Makefile.
Ambros
Am 24.05.2015 um 23:55 schrieb usa usa:
> Hi,
>
> I am trying to recompile the SCIP.
>
> I want to clean it before building it.
>
> But, when I ran :
>
> make clean
>
> in top folder of SCIP\scipoptsuite-3.1.1
>
> I got error:
>
> > /cygdrive/e/SCIP/scipoptsuite-3.1.1
> $ make clean
>
> make[1]: Entering directory
> '/cygdrive/e/SCIP/scipoptsuite-3.1.1/scip-3.1.1'
>
> obj/O.cygwin.x86_64.gnu.opt/make.lastsettings:1: *** missing
> separator. Stop.
>
> make[1]: Leaving directory
> '/cygdrive/e/SCIP/scipoptsuite-3.1.1/scip-3.1.1'
>
> Makefile:62: recipe for target 'clean' failed
>
> make: *** [clean] Error 2
>
> It seems that clean command missed a tab. But, I cannot find where the
> tab is missing.
>
> in the Makeifle of SCIP\scipoptsuite-3.1.1, it has:
>
> clean:
> @$(MAKE) -C $(SCIPDIR) clean // 2 tabs here in front of
> the command
> @$(MAKE) -C $(SOPLEXDIR) clean OPT=$(LPSOPT) // 2 tabs here
> in front of the command
>
>
> In Makefile of SCIP\scipoptsuite-3.1.1\scip-3.1.1, I have :
>
> clean: cleanlib cleanbin | $(LIBOBJSUBDIRS) $(LIBOBJDIR)
> $(BINOBJDIR) $(OBJDIR)
>
>
> I changed it to
>
> clean:
> cleanlib cleanbin | $(LIBOBJSUBDIRS) $(LIBOBJDIR) $(BINOBJDIR)
> $(OBJDIR)
>
> But, same error.
>
> Any help would be appreciated,
>
>
> On Thu, May 21, 2015 at 1:10 PM, Ambros Gleixner <gleixner at zib.de
> <mailto:gleixner at zib.de>> wrote:
>
> Hi,
>
> Do you need GMP for using Zimpl or for solving LPs exactly? If not,
> try the make option GMP=false in SoPlex and SCIP.
>
> Ambros
>
>
>
> Am 21.05.2015 um 19:06 schrieb usa usa:
>
> 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 <mailto:miltenberger at zib.de>
> <mailto:miltenberger at zib.de <mailto: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 <tel:21.05.2015%2017>: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 list
> Scip at zib.de <mailto:Scip at zib.de> <mailto:Scip at zib.de
> <mailto:Scip at zib.de>>
> http://listserv.zib.de/mailman/listinfo/scip
>
>
> --
> \__________________
>
> Matthias Miltenberger
> Zuse Institute Berlin
> Takustr. 7, 14195 Berlin
> www.zib.de/miltenberger <http://www.zib.de/miltenberger>
> <http://www.zib.de/miltenberger>
> miltenberger at zib.de <mailto:miltenberger at zib.de>
> <mailto:miltenberger at zib.de <mailto:miltenberger at zib.de>>
> +49 (30) 841 85-245 <tel:%2B49%20%2830%29%20841%2085-245>
> <tel:%2B49%20%2830%29%20841%2085-245>
>
>
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de <mailto:Scip at zib.de>
> http://listserv.zib.de/mailman/listinfo/scip
>
>
> --
> ______________________________________________________________
> Ambros M. Gleixner
> Zuse Institute Berlin - TU Berlin - Berlin Mathematical School
> http://www.zib.de/gleixner
>
>
--
______________________________________________________________
Ambros M. Gleixner
Zuse Institute Berlin - TU Berlin - Berlin Mathematical School
http://www.zib.de/gleixner
More information about the Scip
mailing list