I'm trying to compile a CUDA test program on Windows 7 x64 via Command Prompt using this command:
nvcc cuda.cu
I get the following output and then this error message:
cuda.cu
tmpxft_00000d14_00000000-3_cuda.cudafe1.gpu
tmpxft_00000d14_00000000-8_cuda.cudafe2.gpu
cuda.cu
tmpxft_00000d14_00000000-3_cuda.cudafe1.cpp
tmpxft_00000d14_00000000-14_cuda.ii
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
I have the kernel.lib file in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib and adding that to the CUDA lib environment variable doesn't work.
What would be causing this error and how do I rectify it?