fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’

I’m using CUDA (VC++, Visual studio 2008sp1) to debug a FEM program. The program can only run on a Win32 platform, for the insufficiency of cuda. I think the library files linked are all compiled on the x86 platform, but when I compile it, I get the error message “fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86′”.

I have tried to convert the platform to x64, but it didn’t work. Please tell me: what is “module machine type” and what is “target machine type”? How can I overcome it?

28 Answers
28

Leave a Comment