Windows 7 x64 & CUDA unable to even compile samples

Hello!

I’ve installed Visual Studio 2008 Professional, all CUDA environment but unable to compile even samples. Visual Studio keeps giving to me the following output:
“D:\Applications\CUDA\v3.2\bin\nvcc.exe” -gencode=arch=compute_10,code=“sm_10,compute_10” -gencode=arch=compute_20,code=“sm_20,compute_20” --machine 64 -ccbin “d:\Applications\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler “/EHsc /W3 /nologo /Od /Zi /MTd " -I"D:\Applications\CUDA\v3.2/include” -I"./" -I"…/…/common/inc" -I"…/…/…/shared/inc" -I"D:\Applications\CUDA\v3.2\include" -maxrregcount=32 --compile -o “x64\Debug/bandwidthTest.cu.obj” bandwidthTest.cu
1>cl : Command line error D8003 : missing source filename
1>Project : error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”

I walked through all the topics here and didn’t manage to find anything useful for me, I’ve tried everything and it didn’t help…

I used CUDA on MAC OS 10.6, ran there several programs, also in OpenCL and didn’t have any problems. Here I can’t even run the samples.

Did anybody face something like that?

Thank you

Hello!

I’ve installed Visual Studio 2008 Professional, all CUDA environment but unable to compile even samples. Visual Studio keeps giving to me the following output:
“D:\Applications\CUDA\v3.2\bin\nvcc.exe” -gencode=arch=compute_10,code=“sm_10,compute_10” -gencode=arch=compute_20,code=“sm_20,compute_20” --machine 64 -ccbin “d:\Applications\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler “/EHsc /W3 /nologo /Od /Zi /MTd " -I"D:\Applications\CUDA\v3.2/include” -I"./" -I"…/…/common/inc" -I"…/…/…/shared/inc" -I"D:\Applications\CUDA\v3.2\include" -maxrregcount=32 --compile -o “x64\Debug/bandwidthTest.cu.obj” bandwidthTest.cu
1>cl : Command line error D8003 : missing source filename
1>Project : error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”

I walked through all the topics here and didn’t manage to find anything useful for me, I’ve tried everything and it didn’t help…

I used CUDA on MAC OS 10.6, ran there several programs, also in OpenCL and didn’t have any problems. Here I can’t even run the samples.

Did anybody face something like that?

Thank you

Hi. sure that you’ve not forgotten to install 64bit compiler? or set right path to 64bit compiler? what about 32bit ? can you compile with -m=32 ?

Hi. sure that you’ve not forgotten to install 64bit compiler? or set right path to 64bit compiler? what about 32bit ? can you compile with -m=32 ?

Hi. Check this paths:
“…/…/common/inc” -I"…/…/…/shared/inc"

Sometimes files are not in the correct folder and VS cant find what is needed. Try to set absolute path and build it again.

Hi. Check this paths:
“…/…/common/inc” -I"…/…/…/shared/inc"

Sometimes files are not in the correct folder and VS cant find what is needed. Try to set absolute path and build it again.