EDN Admin
Well-known member
Dear all,
Im working on VS2008 on winXP (32 Platform)...
I want to build a project that can run on 64 platform as 64 application.
I installed the x64 cross tools...(I got 6 cl.exe files)
I added $(VCInstallDir)binx86_amd64 followed by $(VCInstallDir)bin in the VC++ Directories..
I configured the platform in the configuration manager to x64...
I set the project properties as follows:
c/c++->preprocessor->preprocessor definitions: WIN64;_DEBUG
c/c++->Precompiled Headers->Great/use precompile header: Not Using Precompiled Headers
Linker->General->Register output: No
Linker->General->Additional Library Directories: "C
rogram FilesMicrosoft Visual Studio 9.0VClib"
Linker->Advanced->Target Machine: MachineX64 (/MACHINE:X64)
when trying to build the project I always get this error:
<font style="font-size:12px <font style="font-size:14px
<b>fatal error LNK1112: module machine type x64 conflicts with target machine type X86
</b><font style="font-size:12px I looked a lot in different forms but I still cant figure out what is the problem...
So please if any one can solve this problem please advise me...
</font>Thanks
BS </font></font>
View the full article
Im working on VS2008 on winXP (32 Platform)...
I want to build a project that can run on 64 platform as 64 application.
I installed the x64 cross tools...(I got 6 cl.exe files)
I added $(VCInstallDir)binx86_amd64 followed by $(VCInstallDir)bin in the VC++ Directories..
I configured the platform in the configuration manager to x64...
I set the project properties as follows:
c/c++->preprocessor->preprocessor definitions: WIN64;_DEBUG
c/c++->Precompiled Headers->Great/use precompile header: Not Using Precompiled Headers
Linker->General->Register output: No
Linker->General->Additional Library Directories: "C

Linker->Advanced->Target Machine: MachineX64 (/MACHINE:X64)
when trying to build the project I always get this error:
<font style="font-size:12px <font style="font-size:14px
<b>fatal error LNK1112: module machine type x64 conflicts with target machine type X86
</b><font style="font-size:12px I looked a lot in different forms but I still cant figure out what is the problem...
So please if any one can solve this problem please advise me...
</font>Thanks
BS </font></font>
View the full article