<br><font size=2 face="sans-serif">Bill,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; I
think you were right. I took a hard look at my SDK paths and changed a
capital &quot;I&quot; to a lower-case &quot;i&quot; and everything seems
better. Thanks for help.</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; On
a side note, perhaps &quot;assuming&quot; x64 when x86 fails is a bad algorithm,
or at least confusing.</font>
<br><font size=2 face="sans-serif">---------------------------------------------------------<br>
Aaron Wright</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Bill Hoffman &lt;bill.hoffman@kitware.com&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: cmake-bounces@cmake.org</font>
<p><font size=1 face="sans-serif">11/13/2009 09:07 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Aaron_Wright@selinc.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">CMake &lt;cmake@cmake.org&gt;, Bill
Hoffman &lt;bill.hoffman@kitware.com&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [CMake] NMake Generation Error:
machine type 'X86' conflicts with target machine type 'x64'</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Aaron_Wright@selinc.com wrote:<br>
&gt; <br>
&gt; I have the windows SDK installed. It came with Visual Studio. I run
<br>
&gt; everything from perl, so in my script, I set the environment to:<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ENV{&quot;VSINSTALLDIR&quot;} =
&quot;C:\\Program Files\\Microsoft Visual <br>
&gt; Studio 9.0&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ENV{&quot;VCINSTALLDIR&quot;} =
&quot;C:\\Program Files\\Microsoft Visual <br>
&gt; Studio 9.0\\VC&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ENV{&quot;FrameworkDir&quot;} =
&quot;C:\\WINDOWS\\Microsoft.NET\\Framework&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ENV{&quot;FrameworkVersion&quot;}
= &quot;v2.0.50727&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ENV{&quot;Framework35Version&quot;}
= &quot;v3.5&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ENV{&quot;DevEnvDir&quot;} = &quot;C:\\Program
Files\\Microsoft Visual Studio <br>
&gt; 9.0\\Common7\\IDE&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ENV{&quot;PATH&quot;} = &quot;C:\\Program
Files\\Microsoft Visual Studio <br>
&gt; 9.0\\Common7\\IDE;C:\\Program Files\\Microsoft Visual Studio <br>
&gt; 9.0\\VC\\BIN;C:\\Program Files\\Microsoft Visual Studio <br>
&gt; 9.0\\Common7\\Tools;C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5;C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727;C:\\Program
<br>
&gt; Files\\Microsoft Visual Studio 9.0\\VC\\VCPackages;*C:\\Program <br>
&gt; Files\\Microsoft SDKs\\Windows\\v6.0A\\bin*;&quot; . $ENV{&quot;PATH&quot;};<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ENV{&quot;INCLUDE&quot;} = &quot;C:\\Program
Files\\Microsoft Visual Studio <br>
&gt; 9.0\VC\\INCLUDE;*C:\\Program Files\\Microsoft <br>
&gt; SDKs\\Windows\\v6.0A\\Include*;&quot; . $ENV{&quot;INCLUDE&quot;};<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ENV{&quot;LIB&quot;} = &quot;C:\\Program
Files\\Microsoft Visual Studio <br>
&gt; 9.0\\VC\\LIB;*C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\Lib*;&quot;
<br>
&gt; . $ENV{&quot;LIB&quot;};<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ENV{&quot;LIBPATH&quot;} = <br>
&gt; &quot;C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5;C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727;C:\\Program
<br>
&gt; Files\\Microsoft Visual Studio 9.0\\VC\\LIB;&quot; . $ENV{&quot;LIBPATH&quot;};<br>
&gt; <br>
<br>
Look in the CMakeError.log and CMakeOutput.log files to see why it <br>
thinks it is 64 bit. &nbsp;The 64 detect is sort of a hack... It tries
to <br>
build with 32 bit flags, and if that fails it assumes 64. &nbsp;Most of
the <br>
time when it gets this wrong it means that it can not find the system <br>
libraries from the SDK.<br>
<br>
-Bill<br>
_______________________________________________<br>
Powered by www.kitware.com<br>
<br>
Visit other Kitware open-source projects at </font></tt><a href=http://www.kitware.com/opensource/opensource.html><tt><font size=2>http://www.kitware.com/opensource/opensource.html<br>
<br>
Please keep messages on-topic and check the CMake FAQ at: </font></tt><a href=http://www.cmake.org/Wiki/CMake_FAQ><tt><font size=2>http://www.cmake.org/Wiki/CMake_FAQ<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
</font></tt><a href=http://www.cmake.org/mailman/listinfo/cmake><tt><font size=2>http://www.cmake.org/mailman/listinfo/cmake<br>
</font></tt></a></a></a>
<br>