cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Module machine type 'X86' conflicts with target machine type 'x64'

Module machine type 'X86' conflicts with target machine type 'x64'

Summary

The error 'Module machine type 'X86' conflicts with target machine type 'x64'' experienced when building a 64 bit application/toolkit is normally due to using the wrong build environment. This can be resolved by opening a command prompt similar to Start->Program Files->Microsoft Platform SDK for Windows Server 2003 R2->Open Build Environment Window->Windows XP 64-bit Environment->Set Windows XP x64 Build Environment (Retail) or Start->Program Files->Microsoft Visual Studio 2005->Visual Studio Tools->Visual Studio 2005 x64 Win64 Command Prompt.

Synopsis

The error 'Module machine type 'X86' conflicts with target machine type 'x64'' experienced when building a 64 bit application/toolkit is normally due to using the wrong build environment. This can be resolved by opening a command prompt similar to
Start->Program Files->Microsoft Platform SDK for Windows Server 2003 R2->Open Build Environment Window->Windows XP 64-bit Environment->Set Windows XP x64 Build Environment (Retail)
or
Start->Program Files->Microsoft Visual Studio 2005->Visual Studio Tools->Visual Studio 2005 x64 Win64 Command Prompt.

Workaround

If these options do not appear then you will need to reinstall the relavent Visual Studio version ensuring that the 'X64 Compilers and Tools' option is selected.
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Feb 12, 2009 09:44 AM
Updated by: