This project is read-only.

nvcc cannot find a supported version of Visual studio

Sep 28, 2013 at 5:02 AM
I'm getting this error:
Cudafy.CudafyCompileException: Compilation error: nvcc : fatal error : nvcc cannot find a supported version of Microsoft Visual Studio. Only the versions 2008, 2010, and 2012 are supported
at this line:
CudafyModule km = CudafyTranslator.Cudafy();
I have Visual Studio 2010 express installed for C# and C++.

This used to work - any idea how I can help nvcc "find" it?
Sep 29, 2013 at 10:09 AM
Edited Sep 29, 2013 at 10:09 AM
this helped:

this answer:
Include this line
compiler-bindir = C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
Oct 2, 2013 at 3:36 PM
this do not solve the problem! Any other ideas?
Oct 3, 2013 at 12:23 AM
Edited Oct 3, 2013 at 12:24 AM
yes, specify it directly using the CompileProperties object:
CompileProperties cp = new CompileProperties();
cp.CompilerPath = @"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\bin\nvcc.exe";
cp.WorkingDirectory = Directory.GetCurrentDirectory();
cp.IncludeDirectoryPath = @"F:\Apps\Microsoft Visual Studio 10.0\VC\include";
km = CudafyTranslator.Cudafy(cp, typeof(theType));