相关疑难解决方法(0)

CUDA链接错误 - Visual Express 2008 - 由于(null)配置文件导致的nvcc致命错误

在过去的两周里,我一直在寻找可能的错误解决方案.我已经成功安装了Cuda 64位编译器(工具)和SDK以及64位版本的Visual Studio Express 2008和带有Framework 3.5的Windows 7 SDK.我正在使用Windows XP 64位.我已经确认VSE能够以64位编译,因为我使用以下网站上的步骤可以使用所有64位选项:(因为Visual Express本身并不包含64位软件包)

http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/

64位安装的注册表更新可在与上述链接相同的页面上的用户注释中找到.

我已经确认了64位编译能力,因为"x64"可从"工具 - >选项 - > VC++目录"下的下拉菜单中获得,而64位编译不会导致整个项目被"跳过" .我已经包含了64位cuda工具,64 SDK和Visual Express(\ VC\bin\amd64)所需的所有目录.

这是我尝试以64位编译时收到的错误消息:

1>------ Build started: Project: New, Configuration: Release x64 ------
1>Compiling with CUDA Build Rule...
1>"C:\CUDA\bin64\nvcc.exe"    -arch sm_10 -ccbin "C:\Program Files (x86)\Microsoft    Visual Studio 9.0\VC\bin"    -Xcompiler "/EHsc /W3 /nologo /O2 /Zi   /MT  "  -maxrregcount=32  --compile -o "x64\Release\template.cu.obj" "c:\Documents and Settings\All Users\Application Data\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\src\CUDA_Walkthrough_DeviceKernels\template.cu" 
1>nvcc fatal   : Visual Studio configuration file '(null)' could not be …
Run Code Online (Sandbox Code Playgroud)

c++ windows-xp cuda linker-errors visual-c++

12
推荐指数
2
解决办法
2万
查看次数

标签 统计

c++ ×1

cuda ×1

linker-errors ×1

visual-c++ ×1

windows-xp ×1