I mean specifically is there some environment variable that CMake checks for the location of VC2010? I want to make sure the correct path is set on it.<div><br></div><div>Thanks.<br clear="all"><div><br></div><div>---------</div>
Robert Dailey<br>
<br><br><div class="gmail_quote">On Sat, Nov 19, 2011 at 12:08 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF"><div>The best way to ensure your environment is setup correctly is to launch cmake from one of the dedicated command prompts that come with visual studio. </div><div><br><div>-----</div>
<div>Mike Jackson                     <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a></div><div>Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a></div>

<div>BlueQuartz Software               Dayton, Ohio</div><div>____________________________</div><div><span>Sent from my mobile device. Please excuse the shortness of the reply. </span></div>
</div><div><div class="h5"><div><br>On Nov 19, 2011, at 9:46, Robert Dailey &lt;<a href="mailto:rcdailey@gmail.com" target="_blank">rcdailey@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>Seems that for some reason the VC2010 scripts are finding the VS 2003 compiler, which is where the shorthand form of that path points. Obviously the path for VC2010 Express doesn&#39;t have &quot;.NET&quot; in the path.<div>


<br></div><div>Where is it looking for the path to VC2010 Express? Maybe my environment is setup improperly.<br clear="all"><div><br></div><div>---------</div>Robert Dailey<br>
<br><br><div class="gmail_quote">On Fri, Nov 18, 2011 at 10:48 PM, Bill Hoffman <span dir="ltr">&lt;<a href="mailto:bill.hoffman@kitware.com" target="_blank">bill.hoffman@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>On 11/18/2011 6:58 PM, Robert Dailey wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
Well since this is VC Express, I don&#39;t have a &quot;<a href="http://devenv.com" target="_blank">devenv.com</a><br></div>
&lt;<a href="http://devenv.com" target="_blank">http://devenv.com</a>&gt;&quot; file in my Common7 folder, so I guess that explains it?<div><br>
<br>
Shouldn&#39;t CMake support VC2010 express?<br>
<br>
---------<br>
</div></blockquote>
<br>
It does, it is just confused because you have two compilers...<br>
<br>
See Modules/CMakeVS10FindMake.<u></u>cmake  for the logic.  Basically, you need to set CMAKE_MAKE_PROGRAM to MSBuild I think.   I can&#39;t remember but I think there was some issue with VCExpress.exe and VS 2010 not working at all.<span><font color="#888888"><br>



<br>
-Bill</font></span><div><div><br>
<br>
--<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/<u></u>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/<u></u>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/<u></u>listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>--</span><br><span></span><br><span>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a></span><br><span></span><br><span>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></span><br>

<span></span><br><span>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></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br>

<span><a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></span></div></blockquote></div></div></div>
</blockquote></div><br></div>