- Windows 10 version 1803
- GeForce GTX 1050 Ti
- Visual Studio 2015 Update 3
- Latest driver 397.31 installed
I tried to install CUDA 9.1 (downloaded from https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exenetwork ), but the Base Installer always reports failure at Visual Studio Integration (other components are not installed yet). The order of installation is: driver -> Visual Studio -> CUDA (we cannot change the order of VS and CUDA; otherwise CUDA installer would complain). The installation configuration of Visual Studio is the default plus C++ and common tools. VS builds and runs OpenGL program correctly so I can’t find any fault with it. I have tried both network and local installer, version 9.1 and 9.0, but got the same problem. I have to use CUDA inside VS. So, how to fix the failure of CUDA installer to integrate with Visual Studio? Is there any log I can troubleshoot? If you need any info please let me know. Thank you.
A link to the output of msinfo32 is: https://www.dropbox.com/s/gxft9733vcq3sdi/msinfo32.nfo?dl=0
PS: I checked some of previous threads of the same problem. I have only one instance of Visual Studio installed. For example, the filtered results of “Visual Studio” in Programs and Features are as follows:
And Nsight only find one instance of VS – 2015:
Of course these do not mean CUDA installer detects VS instances correctly, so is it safe to remove all directories not belonging to VS2015?