Re: VC++6 LNK1112 Error
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Thu, 02 Jun 2005 03:33:48 -0400
Yep. Sounds like a valid error message. You are trying to link a module compiled for the
Itanium into a piece of code destined for an x86. Either use a different library, or
correctly select your target to be an Itanium.
What is your intended target platform? Itanium or x86? You simply cannot mix-and-match
code; you will have to choose one or the other. Note also that IX86 is not a valid name
of a platform; look at the /machine: linker option. The two interesting options are IA64
and X86, not IX86. The error message appears to be erroneous. But no matter what machine
type you choose as target, you must choose the correct body of code to link into it.
Note also that you can't really compile IA64 code unless you have a compiler that targets
to the Itanium.
You might also check out the default directories settings to make sure your X86 project is
not searching an IA64 library files directory first.
joe
On Wed, 1 Jun 2005 20:40:01 -0700, "Chris" <Chris@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>i m trying to compile n build a program using VC++ 6. I keep getting a error :
>
>*fatal error LNK1112: module machine type "IA64" conflicts with target
>machine type "IX86"*
>
>i think its hav something to do wif my library or my project setting. I had
>try change the "/machine:" option to either IA64 or IX86, no luck. Any1 hav
>any idea?
>
>I m using DirectX 9.0 SDK (April 2005), n Microsoft Platform SDK for Windows
>Server 2003 SP1.
>
>any help will be really appreciated !!!
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: VC++6 LNK1112 Error
- From: Chris
- Re: VC++6 LNK1112 Error
- References:
- VC++6 LNK1112 Error
- From: Chris
- VC++6 LNK1112 Error
- Prev by Date: Re: Multi Threading Options
- Next by Date: How to get application handle name (show in tilte bar) from *.exe?
- Previous by thread: VC++6 LNK1112 Error
- Next by thread: Re: VC++6 LNK1112 Error
- Index(es):
Relevant Pages
|