Re: VC++6 LNK1112 Error
- From: "Chris" <Chris@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 2 Jun 2005 02:20:03 -0700
1st, thx a lot for replying me...
alrite, i actually aware that i using the wrong library... I guess i using
the IA64 version of lib files, while my program is for x86 platform.
i had tried not to refer those library anymore... n i got some other errors
now...
*LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib "libcmt.lib"
conflicts with use of other libs; use /NODEFAULTLIB:library*
n a tons of *error LNK2001: unresolved external symbol* errors...!
I tried refer some other library, but juz can't get it done. Any more ideas?
thx again...
"Joseph M. Newcomer" wrote:
> 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
.
- Follow-Ups:
- Re: VC++6 LNK1112 Error
- From: Joseph M . Newcomer
- Re: VC++6 LNK1112 Error
- References:
- VC++6 LNK1112 Error
- From: Chris
- Re: VC++6 LNK1112 Error
- From: Joseph M . Newcomer
- VC++6 LNK1112 Error
- Prev by Date: how to find an item in a list control?
- Next by Date: RE: destroying modeless dialog
- Previous by thread: Re: VC++6 LNK1112 Error
- Next by thread: Re: VC++6 LNK1112 Error
- Index(es):
Relevant Pages
|