Apologies if this has been answered before; this is my first forum posting and although I made a token attempt to find a relevant existing topic I was overwhelmed with information.
After the long wait for CUDA 8.0 to use with my Visual Studio 2015 environment I installed the toolkit and successfully built the VectorAdd example (what an excellent video) and ran the program. I then attempted to add CUDA to an existing VS Solution.
I am aware that the right thing would have been to take the VectorAdd project as a template for a brand new CUDA application. However, it is such a complicated multi-project thing that I don’t want to do that if I can avoid it. I was aware that I might have to do various things manually - specify additional include directories, explicitly prepare my .cu files for NVCC compilation etc. - and indeed that proved to be the case. I got everything to work except for finally linking the executable. This gives the following error:
LINK : fatal error LNK1181: cannot open input file ‘C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\Win32.obj’
The directory …v8.0\lib doesn’t contain any .obj files, nor can I find Win32.obj anywhere on the computer. What do I need to do?