用户
 找回密码
 立即注册
chudyshao 该用户已被删除
发表于 2013-8-23 11:29:03
23231
错误信息,我基本没有改过配置,也没动过环境变量,这是怎么回事?求救


1>------ 已启动全部重新生成: 项目: flashMat, 配置: Debug x64 ------
1>正在删除项目“flashMat”(配置“Debug|x64”)的中间文件和输出文件
1>Compiling with CUDA Build Rule...
1>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\\bin\nvcc.exe"  -G  -gencode=arch=compute_12,code=\"sm_12,compute_12\" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --machine 64 -ccbin "D:\studysoftware\vs2008\VC\bin" -D_NEXUS_DEBUG -g  -DWIN64 -Xcompiler "/EHsc /W3 /nologo /Od /Zi   /MTd  " -I"./" -I"../../common/inc" -I"D:\studysoftware\matlab\R2013a\extern\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\\include" -maxrregcount=0   --compile -o "x64\Debug/kernel.cu.obj" kernel.cu  
1>Failed to run C:\Users\SZT\AppData\Local\Temp/tmpxft_00000730_00000000-1.bat (拒绝访问。
1>).
1>nvcc : fatal error : Could not set up the environment for Microsoft Visual Studio using 'D:/studysoftware/vs2008/VC/bin/../../VC/bin/amd64/vcvarsamd64.bat'
1>生成日志保存在“file://e:\workspace\My_sonics\C_code\cudaTest\flashCudaMat\flashMat\flashMat\x64\Debug\BuildLog.htm”
1>flashMat - 1 个错误,0 个警告
========== 全部重新生成: 成功 0 个,失败 1 个,跳过 0 个 ==========

使用道具 举报 回复
发表于 2013-8-23 11:30:15
命令行      正在创建临时文件“e:\workspace\My_sonics\C_code\cudaTest\flashCudaMat\flashMat\flashMat\x64\Debug\BAT00000243404324.bat”,其内容为
[
@echo off

echo "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\\bin\nvcc.exe"  -G  -gencode=arch=compute_12,code=\"sm_12,compute_12\" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --machine 64 -ccbin "D:\studysoftware\vs2008\VC\bin" -D_NEXUS_DEBUG -g  -DWIN64 -Xcompiler "/EHsc /W3 /nologo /Od /Zi   /MTd  " -I"./" -I"../../common/inc" -I"D:\studysoftware\matlab\R2013a\extern\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\\include" -maxrregcount=0   --compile -o "x64\Debug/kernel.cu.obj" kernel.cu  



cd "x64\Debug"

findstr /L /I "\"x64\Debug/kernel.cu.obj\"" "flashMat.device-link.options" >nul 2>&1

IF ERRORLEVEL 1 echo "x64\Debug/kernel.cu.obj">> "flashMat.device-link.options"

cd "e:\workspace\My_sonics\C_code\cudaTest\flashCudaMat\flashMat\flashMat\"

"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\\bin\nvcc.exe"  -G  -gencode=arch=compute_12,code=\"sm_12,compute_12\" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --machine 64 -ccbin "D:\studysoftware\vs2008\VC\bin" -D_NEXUS_DEBUG -g  -DWIN64 -Xcompiler "/EHsc /W3 /nologo /Od /Zi   /MTd  " -I"./" -I"../../common/inc" -I"D:\studysoftware\matlab\R2013a\extern\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\\include" -maxrregcount=0   --compile -o "x64\Debug/kernel.cu.obj" "e:\workspace\My_sonics\C_code\cudaTest\flashCudaMat\flashMat\flashMat\kernel.cu"  

if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0019: 某个工具从以下位置返回了错误代码: "Compiling with CUDA Build Rule..."

exit 1

:VCEnd
]
正在创建命令行“e:\workspace\My_sonics\C_code\cudaTest\flashCudaMat\flashMat\flashMat\x64\Debug\BAT00000243404324.bat”
使用道具 举报 回复 支持 反对
发新帖
您需要登录后才可以回帖 登录 | 立即注册