Skip to main content
JADarnell
Inspiring
May 27, 2010
Question

IDCS5 Win Linking problem

  • May 27, 2010
  • 1 reply
  • 368 views

I would like to try submitting this again to the forum.

I have a problem linking a UI plugin.  It's a Win32 plugin but I am getting this error at link time:

..\objD\NuTest\NuTActionComponent.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

I encountered this problem:

1.)  On a plugin I am trying to convert from CS4 to CS5,

2.)  On freshly created plugin code created by DollyXS with no changes whatsoever made to the code or project, and,

3.)  When I attempted to compile one of the sample plugins.

This suggests a setting in Visual Studio that needs to be correctly set, but I am at a loss to figure out what it is.  does anyone have any ideas where to look?

TIA!

John

P.S.  This is what the online help has to say about this error:

The object files specified as input were compiled for different machine  types.

For example, if you try to link an object file compiled with /clr and  an object file compiled with /clr:pure (machine type CEE), the linker  will generate LNK1112.

Similarly, if you create one module with the x64 compiler and another module  with the x86 compiler, and try to link them, the linker will generate  LNK1112.

This topic has been closed for replies.

1 reply

JADarnell
JADarnellAuthor
Inspiring
May 31, 2010

I have found an answer though I am not sure it is the best answer, but it is an answer that works.  I downloaded a trial version of VS 2008 Professional (I was originally using Standard).  After cleaning all test projects and recompiling/relinking, this error went away.

Was there anyone out there who was successfully using VS 2008 Standard?  At this point, I am more curious than anything else.

R,
John