I did a fresh install and Im really frustrated that I just canNOT build one single sample!!! External Image
Config:
-
Windows 7 x64
-
Visual Studio 2010
-
CUDA Toolkit 4.0 (MAY 2011) - 64
-
NEW CUDA Toolkit 4.0 Build Customization BUG FIX Update
-
GPU Computing SDK code samples - 64
C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTest
bandwidthTest_vs2010.sln
Build: error LNK1104: cannot open file ‘cutil64D.lib’
I ALREADY searched the foruns and tried a lot of things… Im going mad External Image
Hi,
You need to build the libs and copy some files.
1- Open the solution cutil_vs2010.sln (C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\common) and build likewise that you
want to build the sample.
2- Copy stopwatch.cpp and stopwatch_win.cpp
FROM: C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\common\src
TO: C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\shared\src
3- Now, build shrUtils_vs2010.sln (C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\shared).
Now, you can build the sample.
External Image
I wonder why NVIDIA do not say anything about that and keep the incomplete files to download! External Image
Maybe the trainee forgot to compile and copy the files ? External Image
Thank, it works now.
@ bandwidthTest_vs2010.sln compiles ok, but Im getting IntelliSense erros:
#include <cutil_inline.h>
#include <shrUtils.h>
#include <shrQATest.h>
1 IntelliSense: cannot open source file “cutil_inline.h” c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.0\c\src\bandwidthtest\bandwidthtest.cu 23 1 bandwidthTest
2 IntelliSense: cannot open source file “shrUtils.h” c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.0\c\src\bandwidthtest\bandwidthtest.cu 24 1 bandwidthTest
3 IntelliSense: cannot open source file “shrQATest.h” c:\programdata\nvidia corporation\nvidia gpu computing sdk 4.0\c\src\bandwidthtest\bandwidthtest.cu 25 1 bandwidthTest
Where are the NVIDIA support?? External Image
Solution:
add this paths to the project VC++ Include Directories
C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\common\inc
C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\shared\inc
External Image