I’m having difficulty getting CUDA 10.0 to work with Visual Studio 2015.
I can open nbody_vs_2015, as the instructions say- Quick Start Guide :: CUDA Toolkit Documentation
But, when I build it, I get the following error message:
The CUDA Toolkit v10.0 directory ‘’ does not exist. Please verify the CUDA Toolkit is installed properly or define the CudaToolkitDir property to resolve this error.
I know this page asked more or less the same question - https://devtalk.nvidia.com/default/topic/1042441/the-cuda-toolkit-v10-0-directory-does-not-exist-/ - I followed the instructions in the answer, but it still doesn’t work for me.
The instructions were, assuming the file was named “vectorAdd”:
- Right clicked on “vectorAdd” example > Properties
- Configuration Properties > CUDA C/C++ > Common
- Edited “CUDA Toolkit Custom Dir”
- Set to “C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0” (no quotes)
- Right clicked on “vectorAdd” example > Build
But when I do that I still get the same error message.