cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

dragonxi4amd
Journeyman III

Target machine challenge with ATI Stream SDK v2.3 - SOLVED

machine type 'X86' conflicts with target machine type 'x64' on cal_d3d10_interop.cpp

Hi guys,  with cal_d3d10_interop.cpp of  ATI Stream SDK v2.3

MS Visual Studio 2010 gives "msvcprtd.lib(MSVCP100D.dll) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' 

Program: cal_d3d10_interop.cpp <-- is target machine 32 or 64-bit ?

GPU <-- ATI RV770 = 32-bit

CPU <-- AMD Phenom II X4 955 = 64-bit

OS  <-- 64-bit Windows 7

 





0 Likes
2 Replies

You are compiling a C++ program.  The target machine is your CPU, not your GPU.  Judging by you other post, you are building a 32-bit program, but trying to link with 64-bit libraries.

The GPU code is compiled "on-the-fly" when the application calls API calls like "clBuildProgram".  So you are compiling the C++ program for your CPU platform, not the GPU.

Jeff

0 Likes

Thanks for your definitions !

SOLVED - case closed !

0 Likes