Supported Windows compilers in CUDA - visual-studio-2010

I am a complete novice CUDA programmer trying to get started, and I am encountering the issue mentioned here with version 5.5
"clean" error with CUDA 5.5 in Visual Studio 2010 Express
Can anyone confirm that this is an issue with version 5.5 only? Is there an earlier version that I can install e.g. 5.0, that will allow nvcc to work with the Visual Studio 10.0 Express version compiler under 64-bit Windows 7?

This is a late answer provided here to remove this question from the unanswered list.
From the NVIDIA CUDA TOOLKIT V5.0 Release Notes, Section 5.1, Table 1
Supported Windows Compilers (32-bit and 64-bit)
Compiler IDE
Visual C++ 10.0 Visual Studio 2010
Visual C++ 9.0 Visual Studio 2008
From the NVIDIA CUDA TOOLKIT V5.5 Release Notes, Table 2
Windows Compilers Supported in CUDA 5.5
Compiler IDE
Visual C++ 11.0 Visual Studio 2012
Visual C++ 11.0 Visual Studio 2012 Express (32-bit)
Visual C++ 10.0 Visual Studio 2010
Visual C++ 9.0 Visual Studio 2008
From the NVIDIA CUDA GETTING STARTED GUIDE FOR MICROSOFT WINDOWS for CUDA 6.0
Windows Compiler Support in CUDA 6.0
Compiler IDE
Visual C++ 11.0 Visual Studio 2012 Express
Visual C++ 10.0 Visual Studio 2010
Visual C++ 9.0 Visual Studio 2008
In all the above releases, there is no support for Visual Studio 2010 Express.

Related

CUDA 7.0 installation not detecting Visual Studio 2013 Express

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.)

Nsight installation on both Visual Studio 2010 and Visual Studio 2012

I am using Windows 7 64bit on a Notebook with a GeForce GT 650M, driver version 335.23.
I have Visual Studio 2010 Professional + SP1 and Visual Studio 2012 Professional installed.
I need to use the CUDA Toolkit 5.5 on both of them, but when I launch the installer of Nsight Visual Studio Edition 3.2.2., it is installed only on VS2012 and not on VS2010. It says:
Installed:
- Nsight for Visual Studio 2012
- Nsight Monitor and HUD Launcher
- Nsight C++ AMP Debugger for Visual Studio 2012
- Nsight C++ AMP Target Support for MSVSMON
Not Installed:
- Nsight for Visual Studio 2010
Reason: VS2010 was not found
- Nsight for Visual Studio 2008
Reason: VS2008 SP1 was not found
My questions are: it is possible to install Nsight on multiple versions of Visual Studio? And if it is, how can I do this?
Thank you for your support.
Best,
Giulia
Nsight supports multiple versions of VS for sure as long as VS is installed correctly.
Could you make sure your VS2010 is workable? One thing is check regkey HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\ApplicationID. It should be "VisualStudio". If there is, would you mind paste your VS2010's version? Thanks.

"clean" error with CUDA 5.5 in Visual Studio 2010 Express

I have been using Visual Studio 2010 Express for my CUDA-related development. Recently, I upgraded from CUDA 5.0 to 5.5. When I did so, I discovered what is seemingly an odd bug: whenever I go to clean (or to rebuild) my VS project, I get an error related to nvcc:
nvcc : fatal error : nvcc cannot find a supported version of Microsoft Visual Studio. Only the versions 2008, 2010, and 2012 are supported
I get this same error on multiple independent projects whenever I try to clean them. The error goes away if I use Visual Studio 2010 Professional.
I was wondering if anyone else has come across this error, and, if so, are there any workarounds (other than switching to VS 2010 Professional)?
Thank you,
Aaron
According to the release notes for CUDA 5.5, Visual Studio 2010 Express is not supported. The supported versions of Visual Studio are:
Compiler IDE
Visual C++ 11.0 Visual Studio 2012
Visual C++ 11.0 Visual Studio 2012 Express (32-bit)
Visual C++ 10.0 Visual Studio 2010
Visual C++ 9.0 Visual Studio 2008

Visual C++ 2010 compilers in Visual Studio 2012 express

Does the Visual Studio 2012 Express (Windows Desktop SKU) bundle the Visual C++ 2010 compilers (both 32-bit and 64-bit) as part of the project round-tripping feature or does this feature only work if Visual Studio 2010 is already installed separately?
Visual Studio Express 2012 for Windows 8 Desktop does not support alternative platform toolsets.
if Visual Studio 2010 or Windows SDK 7.1 is already installed, you can launch the developer command prompt from those toolsets then launch the old compiler via msbuild.

ARM visual studio 2010 2012

I would like to know if there is a plugin to help develop ARM target in visual studio 2010 or 2012.
thank's
Visual Studio 2008 includes an ARM compiler and can target Windows CE/Windows Mobile.
Visual Studio 2010 does not include ARM compiler.
Visual Studio 2012 includes an ARM compiler and can target Windows RT, and probably also Windows Phone 8 (I didn't try to compile for the latter).

Resources