Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

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

cesarpradosboda
Beginner
214 Views

Hello,

Ive just do it a migration from CVF application to IVF, for EM64T, when I did the debug version of the project there arent problems, but when I want do the release version, I obtain the next message:

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

All the libraries that I use in the project there were migrated to EM64T within setting in the section:

PROPERTY PAGES -> LINKER -> ADVANCE -> TARGET MACHINE -> No Set,

In addition, I am sure that all the library, as well as the project there was built whit the same (debug and release) options.

I cannot send you a test case because when I do a simple case it works but in the context of this project I does not work L

I work like this graphic

Thanks,
Cesar

0 Kudos
1 Reply
TimP
Honored Contributor III
214 Views
That's the message you get when you don't pass the /machine:amd64 flag to the linker.
0 Kudos
Reply