nvcc fatal errors

I’m running sample codes given in CUDA SDK on win xp that doesn’t have a GPU enabled graphics card. I’m using VS-2008 and in device emulation mode. I’m getting this error when compiling the .cu file

nvcc fatal : Could not open input file C:\DOCUME~1\Murali_Krishna05\Local Settings\Temp/tmpxft_00000af8_00000000-1

Due to which no object file is being created. Few past threads reg same issue didn’t work(removing quotes in path variables"

I solved it by replacing the environmental varialble “TEMP=%USERPROFILE%\Local Settings\Temp” by “TEMP=%SystemRoot%\TEMP”.