GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 29-Jul-2007, 07:37
wincasy wincasy is offline
New Member
 
Join Date: Jul 2007
Posts: 1
wincasy is on a distinguished road

VS 2008 beta2 's fatal error LNK1112: module machine type 'x64' conflicts with target


HI all ,here is my problem ,possiblely it's easy for you ,but troubles me a lot .

My computer is ibm thinkpad ,cpu is intel 32bit 1.7GH.My os is windows server 2003 r2 with sp2 .
When i download visual studio 2008 beta2 standard edtion ,i try to compile something.
I got the following error:
Project : error PRJ0003 : Error spawning 'cl.exe'.

Then I added "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\x86_amd64"to my system path.
because i thought the error was caused by the cl.exe. vc++can't find the cl.exe.
so i searched my computer ,found two cl.exe.the other located at :
"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\amd64" ,cause my cpu is 32bit ,and not amd,
I did't add this to my system path.

then I got another different error:
------ Build started: Project: mimi, Configuration: Debug Win32 ------
Compiling...
cl : Command line warning D9038 : /ZI is not supported on this platform; enabling /Zi instead
cl : Command line warning D9007 : '/Gm' requires '/Zi'; option ignored
ss.cpp
Linking...
.\Debug\ss.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

so I press alt+F7,open the linker tab.specified the target machine as Machinex86.
but ,it doesn't work .

can anyone help ,I 'll be very gratefull,for this problem troubles me a lot .
thank you !
 

Recent GIDBlog2nd Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drive/CPU Diagnoses Issues binarybug Computer Hardware Forum 1 22-Jan-2007 19:23
C++ PhoneBook marita CPP / C++ Forum 46 12-Jun-2005 12:10

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 05:22.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.