Here is what I’m trying to do. I’m trying to build the .cu file into an .obj file on Windows XP, and I’m using Visuo Studio 2008. After the .obj file is available, I need to link this to a project which is to be built with an intel compiler (version 7). Everything works fine on a 64 bit machine, for both debug and release version, it works fine on 32 bit release version machine too, but it doesn’t work for the 32 bit debug version. Here is the error:
fatal error LNK 1103: debugging information corrupt; recompile module
and here is the command line I use to compile the .cu file:
nvcc -c -Xcompiler “/EHsc /W3 /nologo /O2
/Zi /MT” -ccbin “C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools” -g
encode arch=compute_20,code=sm_20 -gencode arch=compute_13,code=sm_13 gpu_kernel.cu -o gpu_interface
Can anyone tell me what’s going on here?
Thanks a lot.