<div dir="ltr">My apologies for the delay,<div><br></div><div>I updated GetGitRevision and it got past the initial issue. Unfortunately, the final build still failed with cuda enabled because NVCC 7.5 does not support Visual Studio 2015. </div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 9, 2016 at 10:29 PM, Simon Rit <span dir="ltr"><<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    Can you update GetGitRevisionDescription.cmake and
    <a href="http://GetGitRevisionDescription.cmake.in" target="_blank">GetGitRevisionDescription.cmake.in</a> from
    <a href="https://github.com/rpavlik/cmake-modules" target="_blank">https://github.com/rpavlik/cmake-modules</a> and see if the new versions
    fix this issue?<br>
    Thanks,<br>
    Simon<br>
    <br>
    PS: plead keep using the mailing list<div><div class="h5"><br>
    <br>
    <div>On 10/05/2016 03:09, Solomon Tang
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Simon,
        <div><br>
        </div>
        <div>I am rebuilding RTK after moving to Visual Studio 2015 with
          cmake 3.5.2 and am running into the following error:</div>
        <div><br>
        </div>
        <div><span style="color:rgb(255,0,0)">CMake Error at
            build/applications/CMakeFiles/git-data/grabRef.cmake:36
            (file):<br>
            file failed to open for reading (No such file or directory):<br>
            <br>
C:/Work/Tools/Current/RTK-1.2.0/build/applications/CMakeFiles/git-data/head-ref<br>
            Call Stack (most recent call first):<br>
            cmake/GetGitRevisionDescription.cmake:77 (include)<br>
            applications/CMakeLists.txt:5 (get_git_head_revision)</span><br>
        </div>
        <div><span style="color:rgb(255,0,0)"><br>
          </span></div>
        <div><font color="#000000">I am using ITK 4.9.0 and fresh
            download of RTK 1.2.0. </font></div>
        <div><font color="#000000"><br>
          </font></div>
        <div><font color="#000000">How do I resolve this issue?</font></div>
        <div><font color="#000000"><br>
          </font></div>
        <div><font color="#000000">Thanks again,</font></div>
        <div><font color="#000000"><br>
          </font></div>
        <div><font color="#000000">Solomon</font></div>
        <div><br>
        </div>
        <div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><br></div></div></div>
</div></div>