I am trying to compile a simple CUDA kernel.
I have the version 4.0 of CUDA, I also have installed the toolkit and SDK, and set the environment variables.
I use windows 7 64 bit, I give the command to compile a 32 bit versions (otherwise it gives an error) form command prompt.
This is what I get;
C:\Users\Ramy\Desktop>nvcc -m32 -ccbin "C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\bin\cl.exe" matmat.cu
matmat.cu
tmpxft_0000118c_00000000-3_matmat.cudafe1.gpu
tmpxft_0000118c_00000000-8_matmat.cudafe2.gpu
matmat.cu
tmpxft_0000118c_00000000-3_matmat.cudafe1.cpp
tmpxft_0000118c_00000000-14_matmat.ii
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
And kernel32.lib is in Microsoft SDK v7.0, but I don’t know how to set the path.
Can comeone help me?