Please I need some help with compilation error C1083: Cannot open source file

Hi everyone

I have an existing C project and want to use CUDA to accelerate it. I have followed this link(http://forums.nvidia.com/index.php?showtopic=64478) to add the rules, library path, etc to my project. But the problem is that I cannot even compile the .cu file in my project.

the command line to compile is

nvcc.exe -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin"  -c  -Xcompiler "/EHsc /W3 /nologo /Wp64 /O2 /Zi   /MT "  -o Release\dct-cuda.obj dct-cuda.cu

and the error i get is

Compiling...

dct-cuda.cu

c1xx : fatal error C1083: Cannot open source file: 'dct-cuda.cu': No such file or directory

I have absolutely no idea what I have done wrong, please help me out and thanks in advance! <img src=‘http://hqnveipbwb20/public/style_emoticons/<#EMO_DIR#>/crying.gif’ class=‘bbc_emoticon’ alt=’:’(’ />

I haven’t got much idea but, are you using a library called cutil?? if the answer is yes you have put on linker/input cutil32.lib

thanks very much for your reply, i figure out my problem is caused by a wrong rules file.

[quote]

thanks very much for your reply, i figure out my problem is caused by a wrong rules file.

[\quote]

Hi!

I have the same problem! What is a rules file? Can anybody help me?

Thanks in advance!