Thanks for that - I will try it again with the 2.8.10 release candidate.<br><br>--<br>Glenn<br><br><br><div class="gmail_quote">On 18 September 2012 22:17, David Cole <span dir="ltr">&lt;<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div><div class="h5">On Mon, Sep 17, 2012 at 1:02 PM, Glenn Coombs <span dir="ltr">&lt;<a href="mailto:glenn.coombs@gmail.com" target="_blank">glenn.coombs@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br><br>I just installed the Visual Studio 2012 Express edition for Windows Desktop and cmake 2.8.9 is having some issues with it.  Initially when I ran the cmake configure step it failed to find the devenv or msbuild program:<br>


<br><div style="margin-left:40px">CMake was unable to find a build program corresponding to &quot;Visual Studio
 11&quot;.  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a 
different build tool.<br></div><br>I then edited the CMakeVS11FindMake.cmake file to tell it to use the same MSBuild that the VS2012 command prompt uses (C:/Windows/Microsoft.NET/Framework/v4.0.30319):<br><br>IF(NOT CMAKE_CROSSCOMPILING)<br>


  FIND_PROGRAM(CMAKE_MAKE_PROGRAM<br>    NAMES MSBuild<br>    HINTS<br>    [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup\\VS;ProductDir]<br>    [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\WDExpress\\11.0\\Setup\\VS;ProductDir]<br>


    &quot;$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR Version]/&quot;<br>    &quot;c:/WINDOWS/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR Version]/&quot;<br>


    &quot;$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\11.0;CLR Version]/&quot;<br>    <span style="color:rgb(255,0,0)">&quot;C:/Windows/Microsoft.NET/Framework/v4.0.30319&quot;</span><br style="color:rgb(255,0,0)">


<span>)</span><br>ENDIF()<br><br>and that gets me a bit further.  The error message is now:<br><br><div style="margin-left:40px">Check for working C compiler using: Visual Studio 11</div>
<p style="margin:0px 0px 0px 40px;text-indent:0px">Check for working C compiler using: Visual Studio 11 -- works</p>
<p style="margin:0px 0px 0px 40px;text-indent:0px">Detecting C compiler ABI info</p>
<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">CMake Error at C:/Program Files (x86)/CMake 2.8.9/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31 (TRY_COMPILE):</span></p>
<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">  Cannot copy output executable</span></p>

<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">    &#39;&#39;</span></p>

<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">  to destination specified by COPY_FILE:</span></p>

<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">    &#39;C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeDetermineCompilerABI_C.bin&#39;</span></p>

<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">  Unable to find the executable at any of:</span></p>

<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">    C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/cmTryCompileExec66551527.exe</span></p>
<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">    C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec66551527.exe</span></p>
<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">    C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/Development/cmTryCompileExec66551527.exe</span></p>

<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">Call Stack (most recent call first):</span></p>
<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">  C:/Program Files (x86)/CMake 2.8.9/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71 (CMAKE_DETERMINE_COMPILER_ABI)</span></p>
<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="color:#ff0000">  CMakeLists.txt:3 (project)</span></p><br>Is it possible to hack an existing cmake 2.8.9 install to work with VS2012 Express or am I going to have to wait for cmake 2.8.10 ?<br>


<br>--<br>Glenn<br><br>
<br></div></div>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br><div><br></div><div>You will need a new build of CMake to fix this problem.</div>

<div><br></div><div>Brad just merged some changes to our &#39;next&#39; branch today to address this issue.</div><div><br></div><div>If you can build CMake from source, you can try it out right now if you checkout the &#39;next&#39; branch and build it.</div>

<div><br></div><div>If not, you could wait till tomorrow morning, and there will hopefully be a nightly build available that you can download and try.</div><div><br></div><div>Or, if it&#39;s not urgent, and you can wait till next week: we have tentatively scheduled our first release candidate for CMake 2.8.10 for next Wednesday, 9/26/2012.</div>

<div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br></div>
</blockquote></div><br>