Compatible Support Forums: fatal error LNK1112: module machine type 'X86' conflicts with target machine typ

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

fatal error LNK1112: module machine type 'X86' conflicts with target machine typ

#1 User is offline   viral217 

  • stranger
  • Group: Members
  • Posts: 2
  • Joined: 18-November 04

Posted 25 November 2004 - 03:38 PM

Hi World,
I am getting "fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'AMD64'" when trying to link some libraries compiled on AMD64 architecture. The OS is Win Server 2003.

I am compiling and linking from the command line and I have made sure that I am using the cl.exe and link.exe of the platform SDK (PSDK). In the PATH, LIB and INCLUDE environment variables I have the PSDK folders first and later Visual Studio .Net 2003. I am also using WIN64 definition (/D"WIN64") when producing .obj from .c.

I puzzled because i am unable to locate the place in which it is getting module machine type as 'X86'.

Any suggestions would be of great help.
TIA.
~viral

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users