[CMake] NMake Generation Error: machine type 'X86' conflicts with target machine type 'x64'

Bill Hoffman bill.hoffman at kitware.com
Fri Nov 13 13:35:31 EST 2009


Aaron_Wright at selinc.com wrote:
> 
> Bill,
>         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.
> 
>         On a side note, perhaps "assuming" x64 when x86 fails is a bad 
> algorithm, or at least confusing.
Yeah, that most likely should be fixed.... :)

It is a bit of a chicken and the egg problem.  At the point it tries to 
figure this out, the compiler has not yet been fully determined so the 
normal try compile stuff can not be used.

-Bill


More information about the CMake mailing list