I could use some help getting my tools configured to build a one of the examples in the SDK on Vistax64 with what appears to be a 32bit VS2008 application (full VS2008 from dreamspark as I’m a student @ a University) with a GeForce280GTX.
[b]Here are the steps I have performed in order:
Downloaded VS2008 professional from dreamspark.com & Installed (this appears to be a 32-bit tool)
1.) Installed VS2008
2.) Installed MSDN
3.) Installed Service Packs Via Windows Update in Vistax64
Downloaded CUDA Driver, Toolkit, SDK Code samples
4.) Installed CUDA 2.1 Beta Driver for Vista 64-bit (180.60) (Then Rebooted)
5.) Installed CUDA Toolkit Version 2.1 for Vista
6.) Installed CUDA SDK 2.1 Beta for Vista 64-bit[/b]
I used all Default Paths!
VS2008 installed things into Default Path
C:\Program Files (x86)\Microsoft Visual Studio (only has COMMON subdirectory)
C:\Program Files (x86)\Microsoft Visual Studio 8 (has Common7, SDK, VSTA subdirectories)
C:\Program Files (x86)\Microsoft Visual Studio 9.0 (Looks like where the full VS2008 tols are installed to)
CUDA Toolkit installed to Default Path
C:\CUDA
SDK installed to Default Path
C:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\
Added Paths to VS2008 VC++ Directories Tools->Options->Projects and Solutions → VC++ Directories
(The only Platform available in there was Win32)
→ Win32 → Include Files
Added C:\CUDA\include
Added C:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\common\inc
→ Win32 → Library Files
Added C:\CUDA\lib
Added C:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\common\lib
I Tried to Compile the Device Query Example deviceQuery_vc90
C:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\projects\deviceQuery\deviceQuery_vc90.sln
Did Build->Rebuild Solution with Debug Win32 The build log give me a fatal nvcc and fatal linking error
1>------ Rebuild All started: Project: deviceQuery, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project ‘deviceQuery’, configuration ‘Debug|Win32’
1>Compiling with CUDA Build Rule…
1>“C:\CUDA\bin\nvcc.exe” -arch sm_10 -ccbin “c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler "/EHsc /W3 /nologo /Od /Zi /MTd " -IC:\CUDA\include -I…/…/common/inc -maxrregcount=32 --compile -o Debug\deviceQuery.cu.obj deviceQuery.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>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\deviceQuery\Debug\BuildLog.htm”
1>deviceQuery - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
If I try to Build->Rebuild Solution with Debug/EmuDebug/EmuRelease/Release with x64 as the solution platform I get:
1>------ Skipped Rebuild All: Project: deviceQuery ------
1>
========== Rebuild All: 0 succeeded, 0 failed, 1 skipped ==========
It seems to me that I have some sort of configuration mistake but I’m not sure what. The project seems to see the environment variables:
CUDA_BIN_PATH=C:\CUDA\bin
CUDA_INC_PATH=C:\CUDA\include
CUDA_LIB_PATH=C:\CUDA\lib
I attached the Build Log file for the Debug\Win32 attempt.
Can someone at least give me some ideas of what to try or where I may be going wrong…?
I have gotten this example to compile and run on Vista32 w/ VS2005 Express on a different machine using the CUDA 2.0 Driver/tools/SDK.
BuildLog.htm (19.8 KB)