<br><font size=2 face="sans-serif">Bill,</font>
<br><font size=2 face="sans-serif"> I
think you were right. I took a hard look at my SDK paths and changed a
capital "I" to a lower-case "i" and everything seems
better. Thanks for help.</font>
<br>
<br><font size=2 face="sans-serif"> On
a side note, perhaps "assuming" 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 <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 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 <cmake@cmake.org>, Bill
Hoffman <bill.hoffman@kitware.com></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 have the windows SDK installed. It came with Visual Studio. I run
<br>
> everything from perl, so in my script, I set the environment to:<br>
> <br>
> $ENV{"VSINSTALLDIR"} =
"C:\\Program Files\\Microsoft Visual <br>
> Studio 9.0";<br>
> $ENV{"VCINSTALLDIR"} =
"C:\\Program Files\\Microsoft Visual <br>
> Studio 9.0\\VC";<br>
> $ENV{"FrameworkDir"} =
"C:\\WINDOWS\\Microsoft.NET\\Framework";<br>
> $ENV{"FrameworkVersion"}
= "v2.0.50727";<br>
> $ENV{"Framework35Version"}
= "v3.5";<br>
> $ENV{"DevEnvDir"} = "C:\\Program
Files\\Microsoft Visual Studio <br>
> 9.0\\Common7\\IDE";<br>
> $ENV{"PATH"} = "C:\\Program
Files\\Microsoft Visual Studio <br>
> 9.0\\Common7\\IDE;C:\\Program Files\\Microsoft Visual Studio <br>
> 9.0\\VC\\BIN;C:\\Program Files\\Microsoft Visual Studio <br>
> 9.0\\Common7\\Tools;C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5;C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727;C:\\Program
<br>
> Files\\Microsoft Visual Studio 9.0\\VC\\VCPackages;*C:\\Program <br>
> Files\\Microsoft SDKs\\Windows\\v6.0A\\bin*;" . $ENV{"PATH"};<br>
> $ENV{"INCLUDE"} = "C:\\Program
Files\\Microsoft Visual Studio <br>
> 9.0\VC\\INCLUDE;*C:\\Program Files\\Microsoft <br>
> SDKs\\Windows\\v6.0A\\Include*;" . $ENV{"INCLUDE"};<br>
> $ENV{"LIB"} = "C:\\Program
Files\\Microsoft Visual Studio <br>
> 9.0\\VC\\LIB;*C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\Lib*;"
<br>
> . $ENV{"LIB"};<br>
> $ENV{"LIBPATH"} = <br>
> "C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5;C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727;C:\\Program
<br>
> Files\\Microsoft Visual Studio 9.0\\VC\\LIB;" . $ENV{"LIBPATH"};<br>
> <br>
<br>
Look in the CMakeError.log and CMakeOutput.log files to see why it <br>
thinks it is 64 bit. The 64 detect is sort of a hack... It tries
to <br>
build with 32 bit flags, and if that fails it assumes 64. 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>