locked
LNK1112: module machine type 'x86' conflict with target machine type 'arm'

    Question

  • I'm building the project managed by nmake files. I just add the linker option /machine:arm and get the error:

    LNK1112: module machine type 'x86' conflict with target machine type 'arm'.

    I guess I should have invoked the ARM C++ compiler located at "C:\Program Files\Microsoft Visual Studio 11.0\VC\bin\x86_arm\cl.exe", instead of the default X86 C++ compiler at "C:\Program Files\Microsoft Visual Studio 11.0\VC\bin\cl.exe". How can I do this? If this is not the cause of my issue, then how to fix the build error? 

    Friday, February 15, 2013 2:24 PM

Answers

All replies