“清洁” Visual Studio 2010 Express中的CUDA 5.5错误 [英] "clean" error with CUDA 5.5 in Visual Studio 2010 Express

查看:837
本文介绍了“清洁” Visual Studio 2010 Express中的CUDA 5.5错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用Visual Studio 2010 Express进行我的CUDA相关开发。最近,我从CUDA 5.0升级到5.5。当我这样做,我发现了什么似乎是一个奇怪的bug:每当我去清理(或重建)我的VS项目,我得到一个错误与nvcc相关:

  nvcc:致命错误:nvcc找不到受支持的Microsoft Visual Studio版本。只支持版本2008,2010和2012 

我在多个独立项目上遇到同样的错误我试着清洗他们。如果我使用Visual Studio 2010专业版,错误消失。



我想知道是否有其他人遇到这个错误,如果是,有什么解决方法



Aaron

解决方案

根据发行说明,不支持Visual Studio 2010 Express。 Visual Studio支持的版本是:

 编译器IDE 
Visual C ++ 11.0 Visual Studio 2012
Visual C ++ 11.0 Visual Studio 2012 Express(32位)
Visual C ++ 10.0 Visual Studio 2010
Visual C ++ 9.0 Visual Studio 2008


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 Studio 2010 Express中的CUDA 5.5错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆