W7 64-bit, VS2008, from standart project to CUDA support

I have W7 64-bit, GF8800M and 191.56 drivers from laptopvideo2go. Now I make project using OpenGL 3.2 and I want to use CUDA support and SLI mode to render graphics on 1st GPU and compute on 2nd.

few months ago I had Vista 32-bit - I downloaded SDK etc. - there was no problems with running sourcecodes from SDK, no problems with compilation. Now - when I changed OS, I downloaded SDK and toolkit for new system. Running code samples - no problem. But compiling - errors. First - probably cannot find cutil32D. After installing wizard for 64-bit OS and problem - Err source: CreateCustomProject. I installed 32-bit version -

error PRJ0019: A tool returned an error code from "Compiling with CUDA Build Rule..."

In Solution Platforms I have Win32 option only (in examples - here’s x64available but Start debugging button changes color on gray). :yucky: 32-bit versions of SDK etc. - I had problems too.

And the most important thing for me - is possible to add CUDA support in typical Win32 console application or should I create new (not-working now) CUDA project and move actual sourcecode to it, add GL libraries etc. (will it work?)?

If you’re running 64-bit Windows 7, then you need to compile your Cuda applications in 64-bit. Which VS2008 version do you have installed? Visual Studio 2008 Express does not have the 64-bit compiler, so make sure you have a better version.

2008 Pro from MSDNAA.

So I got back to problem which I had first:

1>LINK : fatal error LNK1181: cannot open input file 'cutil32D.lib'

It’s from SDK for x64 and when I use Wizard for Win32 (x64 version doesn’t work). I changed it for cutil64D.lib or cutil64.lib - errors like:

1>sample.obj : error LNK2019: unresolved external symbol _cudaConfigureCall@32 referenced in function _main

1>sample.obj : error LNK2019: unresolved external symbol __imp__cutStartTimer@4 referenced in function _main

I didn’t find cutil32D.lib in toolkit for x64 so I installed 32-bit version - same problem too.

I pasted files from 32-bit SDK so now I don’t have problem with unavailability but I see:

1>"C:\CUDA\bin64\nvcc.exe"	-arch sm_10 -ccbin "c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin"	-Xcompiler "/EHsc /W3 /nologo /Od /Zi   /MTd  " -I"C:\CUDA\include" -I"./" -I"../../common/inc" -maxrregcount=32  --compile -o "Debug\oceanFFT_kernel.cu.obj" "c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\src\oceanFFT\oceanFFT_kernel.cu" 

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>LINK : fatal error LNK1181: cannot open input file '.\Debug\oceanFFT_kernel.cu.obj'

in all sourcecodes from SDK. Is possible to correct set VS to create 32-bit project in W7 x64?

Haw same trouble.
In VC 2k8 is a great switch to build in win32 platform or x64.
And while I’m using Windows 7 x64 and VS2k8, I can compile for both of platforms. But my nvcc.exe (toolkit v3 beta 64), it’s like building object code for x64 processors only. About to install win32 version of toolkit…, but it’s trying to remove my x64 toolkit first. Like to know, is there any way to let x64 and win32 run properly?
Thanks in advance.