Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

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

cesarpradosboda
Beginner
648 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
2 Replies
Steven_L_Intel1
Employee
648 Views
Well, IVF doesn't yet support EM64T from Visual Studio. You can get it to build if you're careful with changing paths and settings. Look at the linker property page for command line to see if /machine:x86 is specified there.
0 Kudos
TimP
Honored Contributor III
648 Views
If /machine: is unspecified, it defaults to x86, even if all the .obj are x64. This would be sufficient to produce the reported problem.
0 Kudos
Reply