Hello everyone, i follow the installation instruction on the internet and try to compile my project but it doesn’t work.
I am using windows 7 with visual studio 2008 32 bit and CUDA SDK and Toolkit v3.2 32 bit
I got the following message:
1>------ Rebuild All started: Project: VaRCUDA, Configuration: Debug Win32 ------
1>Deleting intermediate and output files from project ‘VaRCUDA’, configuration ‘Debug|Win32’
1>Compiling with CUDA Build Rule…
1>“C:Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\bin\nvcc.exe” -arch sm_10 -ccbin
“c:\Program Files\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler "/EHsc /W3 /nologo /Od /Zi
/RTC1 /MTd " -I"C:\Program Files\NVIDIA GPU Computing ToolKit\CUDA\v3.2\include" -I
“C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\common\inc” -maxrregcount=32
–compile -o “Debug\VARmain.cu.obj”
“c:\Users\xxxxxx\Documents\xxxx2010\VaRCUDA\VaRCUDA\VaRmain.cu”
1>nvcc fatal : Failed to open output file
'C:\Users\xxxxxx\AppData\Local\TempC:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing
SDK\C\Bin\win32\Debug;C:</b>ProgramData\NVIDIA Corporation\NVIDIA GPU Computing
SDK\C\Bin\win32\EmuDebug;:</b>ProgramData\NVIDIA Corporation\NVIDIA GPU Computing
SDK\C\Bin\win32\Release;C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing
SDK\C\Bin\win32\EmuRulease/tempxft_00000120_00000000’
1>Internal error
1>Compiling…
1>getData.cpp
1>c:\users\xxxxxx\documents\xxxx2010\varcuda\varcuda\getdata.cpp(19): warning C4996: ‘fopen’:
This fuction or variable may be unsafe. Consider using fopen_s instead. To disable deprecation,
use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\program files\microsoft visual studio 9.0\vc\include stdio.h(237) :see declaration
of ‘fopen’
1>c:\users\xxxxxx\cocuments\xxxx2010\varcuda\varcuda\getdata.cpp(44) : warning C4244: ‘=’ :
conversion from ‘double’ to ‘float’, possible loss of data
1>c:\users\xxxxxx\documents\xxxx2010\varcuda\varcuda\getdata.cpp(44) : warning C4101: ‘n’ :
unreferenced local variable
1>Linking…
1>getData.obj : waring LNK4075: ignoring ‘/EDITANDCONTINUE’ due to ‘/INCREMENTAL:NO’
specification
1>LINK : fatal error LNK1181: cannot open input file ‘.\Debug\VARmain.cu.obj’
1>Build log was saved at
“file://c:\Users\xxxxxx\Documents\xxxx2010\VaRCUDA\VaRCUDA\Debug\BuildLog.htm”
1>VaRCUDA - 1 error(s), 4 warning(s)
=========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
I know there are still some errors in my code.
I follow the step by step instruction and setup my vs2008 several times but still got this problem. I think i may miss
some settings or make some mistakes. The compiler just don’t know what to do.
I label the message that might provide the useful information about my miss during the setting.
Can anyone help?