I just installed CUDA v10.2 on Windows 10, together with Visual Studio 2019 (community version). I have been able to build and run the deviceQuery sample using the VS solution file.
However, when trying to compile my own cuda code (using the command nvcc fileName.cu from command prompt) I get the following error message:
nvcc fatal : Microsoft Visual Studio configuration file ‘vcvars64.bat’ could not be found for installation at ‘C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/SDK/ScopeCppSDK/vc15/VC/bin/…/…’
Does anyone know what this is about or what to do about it?