Installing CUDA SDK (visual studio nightmare)

Uggh, trying to get CUDA drivers to install is a goddam nightmare. So any c++ projects requiring CUDA - is going to give you headaches unless you miraculously escape the installer fails.

Here’s what I’ve learned:

  • Sure, you could try a custom install, uncheck visual studio integration. Maybe you’ll get lucky and remove cuda 8.props and .targets from your project and just try manually inserting includes in your vc++ general settings. Hell, it might even compile in debug. But thats about as far as you’ll get.

  • The trick is to follow the link below - literally uninstalling ANYTHING nvidia related on your computer. I even uninstalled AORUS to be on the safe side. Make sure there are no nvidia services running or even mentioned in the windows services panel. Manually delete any directory noting nvidia. (make sure you get the Program_DATA directory). Then, AND ONLY THEN (after days of beating your head against a brick wall) will your stupid fucking visual studio integration install.

devtalk.nvidia.com/default/topi … n-failed-/