[Scip] about installing SCIP under Windows

Xiangyong Li lixiangyong at 163.com
Wed Apr 2 02:45:15 CEST 2014



    
  





Dear Gregor,

I want to install SCIP-3.1.0 under Windows. I choose CPLEX as LP solver. 
I use the following command to compile
make LPS=cpx OSTYPE=mingw ARCH=x86 COMP=gnu SUFFIX= ZIMPL=false ZIMPLOPT=opt IPOPT=false IPOPTOPT=opt EXPRINT=cppad GAMS=false ZLIB=false  LANG=en GMP=false READLINE=false 




I got some warnings and the following errors
-> compiling obj/O.mingw.x86.gnu.opt/lib/nlpi/nlpi.o

-> compiling obj/O.mingw.x86.gnu.opt/lib/nlpi/nlpioracle.o

-> compiling obj/O.mingw.x86.gnu.opt/lib/nlpi/expr.o

-> compiling obj/O.mingw.x86.gnu.opt/lib/nlpi/nlpi_ipopt_dummy.o

-> compiling obj/O.mingw.x86.gnu.opt/lib/nlpi/intervalarithext.o

-> compiling obj/O.mingw.x86.gnu.opt/lib/nlpi/exprinterpret_cppad.o

-> generating library lib/libnlpi.cppad-3.1.0.mingw.x86.gnu.opt.a

-> compiling obj/O.mingw.x86.gnu.opt/bin/cppmain.o

-> linking bin/scip-3.1.0.mingw.x86.gnu.opt.cpx.exe

c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lpthread

collect2.exe: error: ld returned 1 exit status

ln: creating symbolic link `scip.mingw.x86.gnu.opt.cpx.exe' to `scip-3.1.0.mingw.x86.gnu.opt.cpx.exe': No such file or directory

make[1]: *** [bin/scip.mingw.x86.gnu.opt.cpx.exe] Error 1

make: *** [all] Error 2

For detailed compilation information, please refer to the attached file. 

Thanks,



 
Xiangyong Li

 From: Gregor HendelDate: 2014-04-01 20:39To: scipSubject: Re: [Scip] about installing SCIP under Windows
  
    
  
  
    Dear Xiangyong Li,

      

      make sure that the soplex src-directory is included in SCIP's
      include-path. This is done by defining a soft link (soft link
      creation is also supported under Windows as far as I know)
      'spxinc' in the lib-subdirectory of the main SCIP directory,
      linking to the soplex src-directory.

      

      Gregor

      

      

      On 04/01/2014 08:34 AM, Xiangyong Li wrote:

    
    
      
      
      
       
       Dear Ambros,
      

      
      I have tried
        building with LPS=spx. It failed with the following error
      

      
      ->
        compiling obj/O.mingw.x86.gnu.opt/lib/lpi/lpi_spx.o
        

        src/lpi/lpi_spx.cpp:76:23: fatal error: spxsolver.h: No such
        file or directory
        

        #include "spxsolver.h"
        

        ^
        

        compilation terminated.
        

        make[1]: *** [obj/O.mingw.x86.gnu.opt/lib/lpi/lpi_spx.o] Error 1
        

        make: *** [libs] Error 2
      

      
       
       Thanks,
       
      Xiangyong Li
       
      
         
        
          
            From: Ambros Gleixner
            Date: 2014-04-01 13:54
            To: scip
            Subject: Re: [Scip] about installing SCIP under
              Windows
          
        
        
          Dear Xiangyong Li,
           
          I have no experience with MinGW and MSYS, but the error
            message says 
          that your linker cannot find the pthread library, which
            is required by 
          Cplex.  If it is in a strange location, you can give this
            to MinGW by 
          the USRLDFLAGS option.
           
          Maybe you can try building with LPS=spx first to see
            whether this succeeds.
           
          ambros
           
           
           
          Am 01.04.2014 07:01, schrieb Xiangyong Li:
          > Dear all,
          >
          >
          > I am installing SCIP-3.1.0 under Windows using MinGW
            and msys.
          >
          > I encountered those errors and warnings which shown
            in the attached file.
          >   Please help me to figure out this problem.
          >
          >
          > Thanks,
          >
          >
          > Xiangyong Li
          >
          >
          > _______________________________________________
          > Scip mailing list
          > Scip at zib.de
          > http://listserv.zib.de/mailman/listinfo/scip
          >
           
          -- 
          ____________________________________________________________
          Ambros M. Gleixner
          Zuse Institute Berlin - Matheon - Berlin Mathematical
            School
          http://www.zib.de/gleixner
          _______________________________________________
          Scip mailing list
          Scip at zib.de
          http://listserv.zib.de/mailman/listinfo/scip
        
      
      

      
      

      _______________________________________________
Scip mailing list
Scip at zib.de
http://listserv.zib.de/mailman/listinfo/scip

    
    

  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20140402/d97706d4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warnings and errors.txt.bak
Type: application/octet-stream
Size: 7424 bytes
Desc: not available
URL: <http://listserv.zib.de/pipermail/scip/attachments/20140402/d97706d4/attachment.obj>


More information about the Scip mailing list