I’ve installed the latest toolkit (2.2, 64bit) on a Vista 64bit box, I’m using VS2008. Now I’d like to compile a project both to 32 and 64 bit (latter is no problem). For 32 bit it seems that the object files of the .cu files are 64 bit: “fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’”. Is there a way to make the nvcc from the 64bit toolset to compile to X86?
Thanks && kind regards
EDIT: I copied the libs and dlls from the 32-bit Toolkit (2.2), and everything works fine under 64 bit using the “–machine 32” switch (and naturally linking and executing against the 32bit files). Then I noticed that version 2.3 is already out, which makes it easier because the 64bit install also gives the 32bit flavored libs/dlls… -> problem solved, thanks :)