Older Visual Studio build setup - Unable to use any CUDA installations

We are trying to install and use CUDA on our Windows 10 lab system to speed up our live tracking pipeline that run by a Visual Studio 2019 solution.

The system is based on a laptop with GeForce GTX 1060, so I need CUDA 6.1 according to this list. But I don’t see a 6.1 installation option on the website and 6.0 does not work on the computer.

When I try to run newer versions of CUDA (9.0 and 11.3), I get linker errors all over our MS Visual Studio solution. Each time I tried a version of CUDA, I updated the solution: changed the build dependencies to target the correct files, changed the library dependencies, changed the directory of CUDA custom toolkit, and added the correct include directories. Of note is that we’re running 2015 platform tools (legacy code) on MSVS 2019, nvidia-smi is installed.

I’m not sure what to do here, and any suggestions of things to try would really help.

See this post.

When deciding which Cuda Toolkit to install, be aware that each Toolkit has specific Visual Studio version requirements, so be sure to check the Windows Installation Guide for each toolkit.