Hi all,
I am trying to run some FFT code with Visual Studio 2005, in x64 platform. Since I am getting some errors I thought just to try the simpleCUFFT project that comes with CUDA platform SDK. Although I linked the right libraries (cutil64.lib), I get an error like:
Error LNK1112: module machine type ‘X86’ conflicts with target machine type ‘x64’
Can somebody assist me in this matter? Thank you in advance,
E.
Presumably you installed the 32-bit toolkit, so you can only compile 32-bit apps with nvcc. You need to install the 64-bit toolkit if you want to compile 64-bit apps.
(this is a very annoying limitation and one we’re trying to fix in the near future)
Well, I installed the CUDA Toolkit version 2.1 for Windows XP 64-bit, and the respective drivers and SDK. So I dont see how that is possible. Just to be sure I reinstalled everything but still the same problem. Perhaps you can assist me with some more details, how to get rid of this problem.
That error indicates you’re linking a 32-bit library with a 64-bit library, so your linker settings are incorrect somewhere. Double check that your target machine is x64 and that all of the libraries you’re linking against are 64-bit as well.