LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

 

The problem has been solved. Many thanks to steve.
Here is the solution, for those might have the same problem :)
1. To choose the x64 platform, click Build > Configuration Manager.  Under Active Solution Platform, select <New...> In the dialog that comes up, select x64 as the new platform (it may come up by default) and then click Ok.
2. select the x64 platform in the VC window.
3. Check the Linker > Command Line property page to make sure there is no /MACHINE switch there
    3.1 if you find /MACHINE ** in the additional options window, just deletle it.
    3.2. if you find /MACHINE ** in the all options window, go to the Linker > Advanced property page and make sure that   Target Machine is "Not Set".
lan
 

你可能感兴趣的:(LNK1112: module machine type 'x64' conflicts with target machine type 'X86')