<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Dear Aaron,<br>
    <br>
    SCIP encodes the current git hash into the binary during
    compilation. This is only done in the developer version and when git
    is available. In the public release version, this check should
    always fail, so the pre-built git hash is used.<br>
    In your setup, it seems that the SCIP directory path got messed up.
    I suppose your SCIP directory path is "D:/Code/Projects/scip-6.0.1"
    but for some reason it got split in half and then cmake evaluated
    the check to true, trying to get the current git hash, which
    resulted in an error.<br>
    <br>
    Please try to regenerate the build directory after removing all its
    contents. If that still fails, you could manually edit the generated
    file "scip_update_githash.cmake" and fix the path before
    building/compiling the project.<br>
    <br>
    Unfortunately, we cannot reproduce the error on our side.<br>
    <br>
    Cheers<br>
    Matthias <br>
    <br>
    <div class="moz-cite-prefix">On 23-Apr-19 10:46, Aaron Becher wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:93b7a76.af21.16a49603385.Coremail.xiaomujiangem@163.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
        <div><span style="font-family: Courier;">Dear all,<br>
          </span></div>
        <div><br>
        </div>
        <div><span style="font-family: Courier;">I'm a beginner of SCIP.
            After two days of manual reading,  I'm trying to install
            SCIP on my computer. Unfortunately, errors <br>
          </span></div>
        <div><span style="font-family: Courier;">occur when I complie
            the project. My system is MS windows10, and I install the
            CPLEX as the lp solver instead of scip <br>
          </span></div>
        <div><span style="font-family: Courier;">optimization suit. The
            cmake-gui is used to generated the project. In the
            Configurer of cmake, I set <br>
          </span></div>
        <div><br>
        </div>
        <div><span style="font-family: Courier;">LPS     cpx <br>
          </span></div>
        <div><span style="font-family: Courier;">CPLEX_INCLUDE_DIRS     
            .../CPLEX_Studio128/cplex/include/ilcplex  <br>
          </span></div>
        <div><span style="font-family: Courier;">CPLEX_LIBRARY       
            .../CPLEX_Studio128/cplex/lib/x64_windows_vs2015/stat_mda/cplex1280.lib</span></div>
        <div><br>
        </div>
        <div><span style="font-family: Courier;">The configuration and
            generate process seem normal.  When I open the binpacking
            project and <br>
          </span></div>
        <div><span style="font-family: Courier;">comple it, three errors
            occur. The output of visual studio 2015 is pasted below:</span></div>
        <div><br>
        </div>
        <div><span style="font-family: Courier;">1>------ Build
            started: Project: scip_update_githash, Configuration: Debug
            x64 ------<br>
            1>  CMake Error at scip_update_githash.cmake:7 (if):<br>
            1>    if given arguments:<br>
            1><br>
            1>      "(" "GIT" ")" "AND" "(" "EXISTS" "D:/Code"
            "Projects/scip-6.0.1/.git" ")"<br>
            1><br>
            1>    Unknown arguments specified<br>
            1><br>
            1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5):
            error MSB6006: "cmd.exe" exited with code 1.<br>
            2>------ Build started: Project: libscip, Configuration:
            Debug x64 ------<br>
            2>LINK : fatal error LNK1104: cannot open file
            'pthread.lib'<br>
            3>------ Build started: Project: binpacking,
            Configuration: Debug x64 ------<br>
            3>LINK : fatal error LNK1104: cannot open file
            '..\..\lib\Debug\scip.lib'<br>
            ========== Build: 0 succeeded, 3 failed, 1 up-to-date, 0
            skipped ==========<br>
          </span></div>
        <div><br>
        </div>
        <div><span style="font-family: Courier;">I have been working on
            it for hours but still couldn't solve it. Hoping you could
            give me some advice. <br>
          </span></div>
        <div><span style="font-family: Courier;">Thanks in advance.</span></div>
        <div><br>
        </div>
        <div><span style="font-family: Courier;">Best!</span></div>
        <span style="font-family: Courier;">Aaron</span></div>
      <br>
      <br>
      <span title="neteasefooter">
        <p> </p>
      </span><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="https://listserv.zib.de/mailman/listinfo/scip">https://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
\__________________

Matthias Miltenberger
Zuse Institute Berlin
Takustr. 7, 14195 Berlin
<a class="moz-txt-link-abbreviated" href="http://www.zib.de/miltenberger">www.zib.de/miltenberger</a>
<a class="moz-txt-link-abbreviated" href="mailto:miltenberger@zib.de">miltenberger@zib.de</a>
+49 (30) 841 85 245 </pre>
  </body>
</html>