I’m a beginner trying to set up a coding environment for CUDA. I have a GeForce 8400M GS, Windows 7 x64 and the 64bit version of CUDA (Driver, toolkit, SDK). The precompiled examples in the SDK run just fine on my machine. The problem is compiling the example source code.
I installed Visual C++ 2008 Express Edition and opened the template which comes with the SDK. In VC++, next to the little green ‘start debugging’ button, there are the various compiler modes (Debug, EmuDebug, etc.). Next to that is the “Win32” or “x64” option. The little green button grays out when I select x64. When I try to compile in Win32 mode I get the following output:
1>------ Build started: Project: transpose, Configuration: Debug Win32 ------ 1>Performing Custom Build Step 1>nvcc fatal : Visual Studio configuration file '(null)' could not be found for installation at 'C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/../..' 1>Linking... 1>LINK : fatal error LNK1181: cannot open input file 'cutil32D.lib' 1>Build log was saved at "file://c:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\projects\transpose\Debug\BuildLog.htm" 1>transpose - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I’ve looked around the forum with not much success. Could anyone please direct me in the correct direction?