[SCIP] complie errors of scip with cplex

Aaron Becher xiaomujiangem at 163.com
Tue Apr 23 10:46:42 CEST 2019


Dear all,



I'm a beginner of SCIP. After two days of manual reading,  I'm trying to install SCIP on my computer. Unfortunately, errors

occur when I complie the project. My system is MS windows10, and I install the CPLEX as the lp solver instead of scip

optimization suit. The cmake-gui is used to generated the project. In the Configurer of cmake, I set



LPS     cpx

CPLEX_INCLUDE_DIRS      .../CPLEX_Studio128/cplex/include/ilcplex 

CPLEX_LIBRARY        .../CPLEX_Studio128/cplex/lib/x64_windows_vs2015/stat_mda/cplex1280.lib


The configuration and generate process seem normal.  When I open the binpacking project and

comple it, three errors occur. The output of visual studio 2015 is pasted below:


1>------ Build started: Project: scip_update_githash, Configuration: Debug x64 ------
1>  CMake Error at scip_update_githash.cmake:7 (if):
1>    if given arguments:
1>
1>      "(" "GIT" ")" "AND" "(" "EXISTS" "D:/Code" "Projects/scip-6.0.1/.git" ")"
1>
1>    Unknown arguments specified
1>
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1.
2>------ Build started: Project: libscip, Configuration: Debug x64 ------
2>LINK : fatal error LNK1104: cannot open file 'pthread.lib'
3>------ Build started: Project: binpacking, Configuration: Debug x64 ------
3>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\scip.lib'
========== Build: 0 succeeded, 3 failed, 1 up-to-date, 0 skipped ==========



I have been working on it for hours but still couldn't solve it. Hoping you could give me some advice.

Thanks in advance.


Best!
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20190423/d1ed9f88/attachment.html>


More information about the Scip mailing list