deviceQuery post build error

Hello!

Does anyone have any experience on this?

In project -> properties -> build events

it says

IF EXIST cg_variables.h move cg_variables.h $(ConfigurationName)\

This file does not seem to exist.

The project builds but does not give the .exe file

Excluding this does not help…

Win 7 64bit Release VS 2008 pro sp1.

Build Log

 	 	

Build started: Project: deviceQuery, Configuration: Release|x64

Command Lines

 	 	

Creating temporary file "c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\deviceQuery\x64\Release\RSP0000013644208.rsp" with contents

[

/I "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\/include" /I "./" /I "../../common/inc" /I "../../../shared/inc" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FD /EHsc /MT /Fo"x64\Release\\" /Fd"x64\Release\vc90.pdb" /W3 /c /Wp64 /Zi /TP ".\deviceQuery.cpp"

]

Creating command line "cl.exe @"c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\deviceQuery\x64\Release\RSP0000013644208.rsp" /nologo /errorReport:prompt"

Creating temporary file "c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\deviceQuery\x64\Release\RSP0000023644208.rsp" with contents

[

/OUT:"../../bin/win64/Release/deviceQuery.exe" /INCREMENTAL:NO /LIBPATH:"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\/lib/x64" /LIBPATH:"../../common/lib" /LIBPATH:"../../common/lib/x64" /LIBPATH:"../../../shared/lib/x64" /MANIFEST /MANIFESTFILE:"x64\Release\deviceQuery.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:NOICF /DYNAMICBASE:NO /MACHINE:X64 cuda.lib cudart.lib cutil64.lib shrUtils64.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

".\x64\Release\deviceQuery.obj"

]

Creating command line "link.exe @"c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\deviceQuery\x64\Release\RSP0000023644208.rsp" /NOLOGO /ERRORREPORT:PROMPT"

Creating temporary file "c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\deviceQuery\x64\Release\RSP0000033644208.rsp" with contents

[

/outputresource:"..\..\bin\win64\Release\deviceQuery.exe;#1" /manifest

".\x64\Release\deviceQuery.exe.intermediate.manifest"

]

Creating command line "mt.exe @"c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\deviceQuery\x64\Release\RSP0000033644208.rsp" /nologo"

Creating temporary file "c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\deviceQuery\x64\Release\BAT0000043644208.bat" with contents

[

@echo Manifest resource last updated at %TIME% on %DATE% > ".\x64\Release\mt.dep"

]

Creating command line """c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\deviceQuery\x64\Release\BAT0000043644208.bat"""

Creating temporary file "c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\deviceQuery\x64\Release\BAT0000053644208.bat" with contents

[

@echo off

IF EXIST cg_variables.h move cg_variables.h Release\

if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."

exit 1

:VCEnd

]

Creating command line """c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\deviceQuery\x64\Release\BAT0000053644208.bat"""

Output Window

 	 	

Compiling...

cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release

deviceQuery.cpp

Note: including windows.h

Note: including math.h

Note: including assert.h

Note: including windows.h

Note: including math.h

Note: including assert.h

Linking...

Embedding manifest...

Performing Post-Build Event...

Results

 	 	

Build log was saved at "file://c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\deviceQuery\x64\Release\BuildLog.htm"

deviceQuery - 0 error(s), 1 warning(s)