Compiling: Could not open input file Failing to compile

Hi there,

I’m trying to include a CUDA file on my project. My team mates can all compile, but I get the following error:

    nvcc fatal : Could not open input file C:\Users\bpde\AppData\Local\Temp/tmpxft_00001278_00000000-1

Here’s the full output:

1>Compiling with CUDA Build Rule…

1>“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.1\bin\nvcc.exe” -gencode=arch=compute_13,code=“sm_13,compute_13” -gencode=arch=compute_20,code=“sm_20,compute_20” --machine 32 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin” -DWIN32 -Xcompiler “/EHsc /W3 /nologo /O2 /Zi /MD " -I”…/…/src/x_ray_cuda" -I"…/…/…/voxarlib/src" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.1\include" -maxrregcount=0 --compile -o “vc9\Win32\Release/XRayGpGpuFluoroImageBlenderImp.cu.obj” XRayGpGpuFluoroImageBlenderImp.cu

1>nvcc fatal : Could not open input file C:\Users\bpde\AppData\Local\Temp/tmpxft_00001278_00000000-1

Any ideas what I’m doing wrong?

Thanks.

Found it. I had a path in my System PATH environment variable which had quotes in it (e.g. “C:/blah” instead of C:/blah). When I removed the quotes, everything worked fine.