I was trying to install CUDA in a new computer, but I got some problems when I built the SDK projects.
The cpu is Intel Pentium 4. I installed CUDA Toolkit 1.1 for winXP (x86) (C:\CUDA) and SDK 1.1 for winXP (x86) (C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK). I put the cuda.rules to D:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults. I open a project from SDK, right click on it, customize my build rule using CUDA.
When I build the project, the following is the error I got:
1>------ Build started: Project: matrixMul, Configuration: Debug Win32 ------
1>Performing Custom Build Step
1>Command-line error: invalid option: --compiler_bindir
1>1 catastrophic error detected in this compilation.
1>LINK : fatal error LNK1181: cannot open input file ‘.\debug\matrixMul.obj’
1>Build log was saved at “file://c:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\projects\matrixMul\Debug\BuildLog.htm”
1>matrixMul - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I installed CUDA in two other computers. The path of VS 2005 may be different. But I don’t think that matters though.
Did I miss anything?
Thanks a bunch!!