Compilation error = fatal error LNK1104

I have some problem to compile CUDA files.

  1. I have VC 2008.

  2. I installed Cuda Tooilkit.

  3. After that I installed CUDA SDK.

  4. In “Custom Build Rules” i used the Cuda.rules, from SDK.

  5. I created a new projects Win32 Console Project, assign Cuda Rules, but my problem is when I compiled some simple code, I get this error:

1>------ Build started: Project: TestCuda01, Configuration: Debug Win32 ------

1>Compiling with CUDA Build Rule...

1>"C:\CUDA\bin64\nvcc.exe"	-ccbin "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin"	 -I"C:\CUDA\include" -I"./" -I"../../common/inc" -I"../../../shared/inc"  -Xcompiler "/EHsc /W3 /nologo /O2 /Zi   /MT  " -maxrregcount=32  -gencode=arch=compute_10,code=\"sm_10,compute_10\" -gencode=arch=compute_20,code=\"sm_20,compute_20\"  --compile -o "Debug\" "c:\Users\administrador\Documents\Visual Studio 2008\Projects\TestCuda01\TestCuda01\" 

1>nvcc Hâý(Ç=y░: Visual Studio configuration file '(null)' could not be found for installation at 'C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/../..'


1><b>LINK : fatal error LNK1104: cannot open file '.\Debug\'</b>

1>Build log was saved at "file://c:\Users\administrador\Documents\Visual Studio 2008\Projects\TestCuda01\TestCuda01\Debug\BuildLog.htm"

1>TestCuda01 - 1 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I probed in two machines and the same error happend.

But, If I open any projects of CUDA SDK, the project compile PERFECT with the Cuda Rules.

What is the problem??..