Cannot build CUDA samples in Visual Studio

Hi everyone

I get a multitude of errors when I try to build the CUDA samples in VS

I’m not super tech savvy at this level so bear with me.

The first error which I resolved was a missing SDK pack, which I “Retracked Project”(?) and selected a different SDK

Now I have even more errors though -

It looks to be mostly version errors saying that “only Visual Studio 2010 2013 2015 and 2017 are supported”

I tried to install a version of VS2015 but can’t without buying it it looks like.

I JUST installed VS2017 & CUDA today

I used information from here to change the accepted range to 2000 - but now it says a bunch of variables are not supported

https://devtalk.nvidia.com/default/topic/1022648/cuda-9-unsupported-visual-studio-version-error/

See last two posts in this thread for the currently supported solution:

https://devtalk.nvidia.com/default/topic/1027209/cuda-setup-and-installation/cuda-9-0-does-not-work-with-the-latest-vs-2017-update/