CUDA progams not compiling on windows 7

Hello,
I’ve been using CUDA for the past couple of months on a 64 bit windows 7 installation along with Visual Studio 2008. Recently i shifted to a 32 bit windows 7 installation and also updated my graphics card, which earlier was a 8600GTX and now is a GTX465. I’ve installed the relevant driver and the CUDA 3.1 toolkit.

Somehow if i try and compile the same Visual studio projects I’d used earlier, I get the following error

1>------ Build started: Project: CUDAServicenew, Configuration: Debug Win32 ------
1>Performing Custom Build Step
1>CUDAHelloWorld.cu
1>Catastrophic error: cannot open source file “C:/Windows/TEMP/tmpxft_0000082c_00000000-6_CUDAHelloWorld.cpp1.ii”: not a regular file
1>1 catastrophic error detected in the compilation of “C:/Windows/TEMP/tmpxft_0000082c_00000000-6_CUDAHelloWorld.cpp1.ii”.
1>Compilation terminated.
1>Project : error PRJ0019: A tool returned an error code from “Performing Custom Build Step”
1>Build log was saved at “file://c:\wamp\www\server_root\GPU_stitcher_live\SiftGPU\CUDAServicenew\CUDAServicenew\Debug\BuildLog.htm”
1>CUDAServicenew - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I can’t understand why the cpp1.ii file is not being opened, what is it that I’m doing wrong here? Any help would be greatly appreciated.

Regards,
Slartibartfast

Hi,
I’ve realised the problem. It was due to me not having read/write permissions in the temp folder of my windows installation.
Slartibartfast

Hi,
I’ve realised the problem. It was due to me not having read/write permissions in the temp folder of my windows installation.
Slartibartfast