Problem building solution VS2010 Cuda 5.0 Win7 x64

Hi all. I hope you guys can help me here.

I’m trying to build a solution using VS2010 on Win 7 x64. Cuda 5.0.

I getting this:

1>CudaBuild:
1> Compiling CUDA source file …......\jQuant\Professum\Dhiogo\GPU\weighted_sum_exercise.cu…
1>
1> C:\Users\Sager\documents\visual studio 2010\Projects\cuda\cuda>“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\bin\nvcc.exe” -gencode=arch=compute_30,code="sm_30,compute_30" --use-local-env --cl-version 2010 -ccbin “c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64” -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\include" -G --keep-dir “x64\Debug” -maxrregcount=0 --ptxas-options=-v --machine 64 --compile -g -DWIN32 -D_DEBUG -D_CONSOLE -D_UNICODE -DUNICODE -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o “x64\Debug\weighted_sum_exercise.cu.obj” “C:\Users\Sager\documents\jQuant\Professum\Dhiogo\GPU\weighted_sum_exercise.cu”
1> weighted_sum_exercise.cu
1> tmpxft_00000f9c_00000000-2_weighted_sum_exercise.cudafe1.gpu
1> tmpxft_00000f9c_00000000-7_weighted_sum_exercise.cudafe2.gpu
1> weighted_sum_exercise.cu
1> ptxas : info : 0 bytes gmem
1> ptxas : info : Compiling entry function ‘kernel_weigthed_sum’ for ‘sm_30’
1> ptxas : info : Function properties for kernel_weigthed_sum
1> 0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
1> ptxas : info : Used 21 registers, 380 bytes cmem[0]
1> tmpxft_00000f9c_00000000-2_weighted_sum_exercise.cudafe1.cpp
1> tmpxft_00000f9c_00000000-12_weighted_sum_exercise.ii
1>LINK : fatal error LNK1104: cannot open file ‘C:\Program.obj’
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:05.70
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

What should I do? Any guesses?

I actually can compile a .cu file to PTX, but I just can’t do a nvcc-run example or build in VS2010

Thanks!!

See: [url]http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/de16f755-9093-4d9f-b9df-8bf504ab7ca5/[/url]