<br><font size=2 face="sans-serif">I have the windows SDK installed. It
came with Visual Studio. I run everything from perl, so in my script, I
set the environment to:</font>
<br>
<br><font size=2> $ENV{"VSINSTALLDIR"}
= "C:\\Program Files\\Microsoft Visual Studio 9.0";</font>
<br><font size=2> $ENV{"VCINSTALLDIR"}
= "C:\\Program Files\\Microsoft Visual Studio 9.0\\VC";</font>
<br><font size=2> $ENV{"FrameworkDir"}
= "C:\\WINDOWS\\Microsoft.NET\\Framework";</font>
<br><font size=2> $ENV{"FrameworkVersion"}
= "v2.0.50727";</font>
<br><font size=2> $ENV{"Framework35Version"}
= "v3.5";</font>
<br><font size=2> $ENV{"DevEnvDir"}
= "C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE";</font>
<br><font size=2> $ENV{"PATH"}
= "C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE;C:\\Program
Files\\Microsoft Visual Studio 9.0\\VC\\BIN;C:\\Program Files\\Microsoft
Visual Studio 9.0\\Common7\\Tools;C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5;C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727;C:\\Program
Files\\Microsoft Visual Studio 9.0\\VC\\VCPackages;<b>C:\\Program Files\\Microsoft
SDKs\\Windows\\v6.0A\\bin</b>;" . $ENV{"PATH"};</font>
<br><font size=2> $ENV{"INCLUDE"}
= "C:\\Program Files\\Microsoft Visual Studio 9.0\VC\\INCLUDE;<b>C:\\Program
Files\\Microsoft SDKs\\Windows\\v6.0A\\Include</b>;" . $ENV{"INCLUDE"};</font>
<br><font size=2> $ENV{"LIB"}
= "C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\LIB;<b>C:\\Program
Files\\Microsoft SDKs\\Windows\\v6.0A\\Lib</b>;" . $ENV{"LIB"};</font>
<br><font size=2> $ENV{"LIBPATH"}
= "C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5;C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727;C:\\Program
Files\\Microsoft Visual Studio 9.0\\VC\\LIB;" . $ENV{"LIBPATH"};</font>
<br>
<br><font size=2 face="sans-serif"><b>Note the Windows SDK</b></font>
<br>
<br><font size=2 face="sans-serif">---------------------------------------------------------<br>
Aaron Wright</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Bill Hoffman <bill.hoffman@kitware.com></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 08:26 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 <cmake@cmake.org></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>
> <br>
> I've tried this on several machines and CMake always seems to think
the <br>
> box is x64 even though it clearly says it's x86. I can fix the problem
<br>
> by deleting CMakeCache.txt and running CMake again, which is weird.
I'm <br>
> trying to automate the whole thing in a night build script so this
<br>
> behavior is not helpful. Ideas?<br>
> ---------------------------------------------------------<br>
> Aaron Wright<br>
<br>
You need to install the windows SDK for CMake to work.<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>