I am trying to install CUDA 7.5 on Windows 10 with both VS 2013 Community and VS 2015 Community installed. The CUDA installer correctly detects VS2013, and installs the CUDA library correctly, but fails when attempting to install CUDA Visual Studio Integration tools. Are there any possible fixes for this problem?
I can't say much about VS 2013 without any more details about error messages etc. It should work, though. I was able to install the same combination.
CUDA 7.5 does not support VS 2015. Even CUDA Toolkit 8.0 RC supports only Visual Studio 2015 up to Update 1, but not Update 2 or 3.
Related
Just installed latest Visual Studio 2017 Preview 15.6 and CUDA Toolkit 9.1
Created new CUDA demo project and tried to compile, but got bunch of errors, one of them:
cannot open source file "stddef.h"
cannot open source file "stdio.h"
unsupported Microsoft Visual Studio version! Only the versions 2012, 2013, 2015 and 2017 are supported
Did anyone try to work with CUDA 9.1 in VS 2017 Preview?
As per advises from Robert and NVidia DevTalk forum in order to compile project I need to:
Install Visual Studio 2017.4 from here
https://www.visualstudio.com/en-us/productinfo/installing-an-earlier-release-of-vs2017
Reinstall CUDA
or
Add Visual Stodio 2015 Toolset to existing VS 2017 installation
Reinstall CUDA
Change project properties to use older toolset
I was able to get CUDA 9.1.85 to build with VS 2017 15.4.
I first uninstalled all previous VS instances and then reinstalled VS2017, making sure to go to "individual Components" and selecting VS 2015 Toolset.
I then used the Step A suggestion from #oregonduckman in this post and used the standard VGA driver for my display adapter (video card).
I then killed every NVIDIA process and manually deleted every NVIDIA folder on my machine.
Finally, I installed CUDA 9.1.85 including the VS Integrations which also reinstalled my display adapter driver that I had manually removed. I was then able to build all of the CUDA samples.
I suspect that the issue lays with either the VS Toolset is unsupported by CUDA 9.1 or there was an incompatibility between VS and my NVIDIA driver somehow.
Btw, I am running Windows 10 Pro with a GTX 780 card.
I do the following to fix the problem on VS 2017 Enterprise:
Open VS 2017--> Tools --> Get Tools and Features --> Add Visual Studio 2015 (v140) Toolset and Windows SDK Version 10.0.15063.0
Reinstall CUDA
Right click on the project --> Properties --> Configuration Properties --> General --> Set target platform version to 10.0.15063.0 and set platform toolset to Visual Studio 2015 (v140)
For the past few days I have installed many versions of visual studio, but nothing is picked up by CUDA 7.5:
I am on windows 7, what could be the issue?
EDIT: I have versions of Visual Studio that CUDA 7.5 asks for, please refer to the image for what versions I have installed.
In your installed programs, more precisely in the screenshot you provide, it seems you have the redist packages but not Visual Studio itself.
Did you really installed Visual Studio ?
Do you know the big difference between the redist packages and the integrated development environment itself ?
Plus, it seems by now Visual Studio 2015 is not yet supported.
See this page on the documentation from Nvidia.
I am trying to install CUDA 7.0 on my laptop. It's Windows 7 64-bit with Visual Studio for Desktop 2013 Express. I get the error message "No supported version of Visual Studio was found." In the CUDA documentation it specifies that VS 2013 is supported (however it doesn't mention the Express version). Any advice please?
Visual Studio 2013 Express is not a supported version for CUDA 7.0.
The supported versions are listed in the windows getting started guide.
Switch to a supported version.
If you are looking for a "free" Visual Studio version, use Visual Studio 2013 Community Edition. This has some advantages anyway, over the express versions:
64-bit compiler support
VS Plugin support (so you can use nsight VSE, although the warning message you received is not unique to nsight VSE. The CUDA 7 installer will report that.)
I'm helping someone with a new Windows 7 workstation that has two nVidia GPUs and see that MS Visual Studio is required for the complete Cuda 5.5 Toolkit to install properly.
Silly question: is Visual Studio not a free download? Also: there are many different versions of Visual Studio 2012, which should be installed?
Thanks in advance for your comments and suggestions.
Dan
Visual Studio comes in free and non-free versions.
According to the CUDA 5.5 release notes, you need either the full version of Visual Studio 2012 or the free version, which is called Visual Studio Express, and has some limitations compared to the full (paid) version.
You want the version of Visual Studio which is for Desktop use (which includes the C++ environment).
"Visual Studio Express 2012 for Windows Desktop"
I would like to start programming CUDA.
I've installed Visual Studio 2010 Express.
I've also isntalled nVidia nSight Visual Studio.
And I have all common prerequisites (Net FrameWork, Java, ...)
But I cannot see any CUDA option in my Visual Studio options nor project properties.
What should I do?
Do I also need to install the Cuda toolkit? It's offered as a separate package but nSight has already installed something called cuda toolkit.
regards
I'm using Windows 7 64bit
Due to a technical limitation in the Visual Studio Express editions, Nsight for Visual Studio only supports Visual Studio 2008 Professional and above and Visual Studio 2010 Professional and above.
You need to install Cuda toolkit and Nsight for debugging.
As far as vs 2012 is concerned did you follow this guide?
http://code.msdn.microsoft.com/windowsdesktop/CUDA-50-and-Visual-Studio-20e71aa1#content
Although I made it work for build I cannot debug with nsight cause its just incompatible with visual studio 2012. I've tried nsight 3 rc2 Till now, I haven't found any way to make it work and I think I have to reinstall VS 2010...
"Nsight Visual Studio 2012 support will come with the next version that is scheduled for Q2'13.
One big reason for not supporting VS2012 is that the CUDA 5.0 toolkit doesn't support the new toolchain. Sorry for the inconvenience.
I should mention that the next release candidate of Nsight 3.0 will support C++ AMP debugging in VS2012 (but no other Graphics or CUDA features will be supported)"