I cant execute bandwidthTest at Win 7 64Bit
Hallo GPU fans,

I have a Asus Notebook with a GTX 460M GPU.
I use Win7 64Bit.

First I installed the Notebook GPU Driver "devdriver_4.0_winvista-win7_64_275.33_notebook.exe" on my Notebook
Then I installed the "cudatoolkit_4.0.17_win_64.msi"
After that I installed the "gpucomputingsdk_4.0.19_win_64.exe"

Then I installed the windows SDK 7.1
After that I installed the Visual Studio 2010 IDE


If I start bandwidthTest I get an Error. Here is the Error Log:


1>------ Neues Erstellen gestartet: Projekt: cutil, Konfiguration: Debug x64 ------
2>------ Neues Erstellen gestartet: Projekt: shrUtils, Konfiguration: Debug x64 ------
2> cmd_arg_reader.cpp
1> bank_checker.cpp
2> shrUtils.cpp
2> Note: including windows.h
2> Note: including math.h
2> Note: including assert.h
1> cmd_arg_reader.cpp
1> cutil.cpp
2> Generating Code...
2> shrUtils_vs2010.vcxproj -> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\shared\lib\x64\shrUtils64D.lib
1> stopwatch.cpp
1> stopwatch_win.cpp
1> Generating Code...
[color="#FF0000"][b]1>LINK : fatal error LNK1104: cannot open file 'kernel32.lib'[/b][/color]
3>------ Neues Erstellen gestartet: Projekt: bandwidthTest, Konfiguration: Debug x64 ------
3>
3> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTest>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin\nvcc.exe" -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64" -I"./" -I"../../common/inc" -I"../../../shared/inc" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include" -G0 --keep-dir "x64\Debug" -maxrregcount=0 --machine 64 --compile -D_NEXUS_DEBUG -g -Xcompiler "/EHsc /nologo /Od /Zi /MTd " -o "x64/Debug/bandwidthTest.cu.obj" "C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTest\bandwidthTest.cu" -clean
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 4.0.targets(441,9): error MSB3721: Der Befehl ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin\nvcc.exe" -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64" -I"./" -I"../../common/inc" -I"../../../shared/inc" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include" -G0 --keep-dir "x64\Debug" -maxrregcount=0 --machine 64 --compile -D_NEXUS_DEBUG -g -Xcompiler "/EHsc /nologo /Od /Zi /MTd " -o "x64/Debug/bandwidthTest.cu.obj" "C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTest\bandwidthTest.cu" -clean" wurde mit Code -1 beendet.
========== Alles neu erstellen: 1 erfolgreich, Fehler bei 2, 0 übersprungen ==========

Im searching for the kernel32.lib on my system. I found the[color="#FF0000"][b] kernel32.lib[/b][/color] in the following folders:

C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib

C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\x64

But the compiler cant found the Library. The real name of the Library is [color="#FF0000"][b]K[/b][/color]ernel32.[color="#FF0000"][b]L[/b][/color]ib


[color="#FF0000"][b]Can somebody help me to solve the problem?[/b][/color]
Hallo GPU fans,



I have a Asus Notebook with a GTX 460M GPU.

I use Win7 64Bit.



First I installed the Notebook GPU Driver "devdriver_4.0_winvista-win7_64_275.33_notebook.exe" on my Notebook

Then I installed the "cudatoolkit_4.0.17_win_64.msi"

After that I installed the "gpucomputingsdk_4.0.19_win_64.exe"



Then I installed the windows SDK 7.1

After that I installed the Visual Studio 2010 IDE





If I start bandwidthTest I get an Error. Here is the Error Log:





1>------ Neues Erstellen gestartet: Projekt: cutil, Konfiguration: Debug x64 ------

2>------ Neues Erstellen gestartet: Projekt: shrUtils, Konfiguration: Debug x64 ------

2> cmd_arg_reader.cpp

1> bank_checker.cpp

2> shrUtils.cpp

2> Note: including windows.h

2> Note: including math.h

2> Note: including assert.h

1> cmd_arg_reader.cpp

1> cutil.cpp

2> Generating Code...

2> shrUtils_vs2010.vcxproj -> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\shared\lib\x64\shrUtils64D.lib

1> stopwatch.cpp

1> stopwatch_win.cpp

1> Generating Code...

1>LINK : fatal error LNK1104: cannot open file 'kernel32.lib'

3>------ Neues Erstellen gestartet: Projekt: bandwidthTest, Konfiguration: Debug x64 ------

3>

3> C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTest>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin\nvcc.exe" -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64" -I"./" -I"../../common/inc" -I"../../../shared/inc" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include" -G0 --keep-dir "x64\Debug" -maxrregcount=0 --machine 64 --compile -D_NEXUS_DEBUG -g -Xcompiler "/EHsc /nologo /Od /Zi /MTd " -o "x64/Debug/bandwidthTest.cu.obj" "C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTest\bandwidthTest.cu" -clean

3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 4.0.targets(441,9): error MSB3721: Der Befehl ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin\nvcc.exe" -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64" -I"./" -I"../../common/inc" -I"../../../shared/inc" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include" -G0 --keep-dir "x64\Debug" -maxrregcount=0 --machine 64 --compile -D_NEXUS_DEBUG -g -Xcompiler "/EHsc /nologo /Od /Zi /MTd " -o "x64/Debug/bandwidthTest.cu.obj" "C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTest\bandwidthTest.cu" -clean" wurde mit Code -1 beendet.

========== Alles neu erstellen: 1 erfolgreich, Fehler bei 2, 0 übersprungen ==========



Im searching for the kernel32.lib on my system. I found the kernel32.lib in the following folders:



C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib



C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\x64



But the compiler cant found the Library. The real name of the Library is Kernel32.Lib





Can somebody help me to solve the problem?

#1
Posted 08/06/2011 01:08 PM   
Have nobody an idea?
Have nobody an idea?

#2
Posted 08/09/2011 09:01 AM   
[quote name='Pimbolie1979' date='09 August 2011 - 01:01 AM' timestamp='1312880485' post='1276946']
Have nobody an idea?
[/quote]
The Windows SDK may not be setup right for your project - likely the original project didn't make use of this version of the windows SDK, or had it installed in a different folder (which it might appear to be on win7 x86).

So,

- right click on your project and select 'properties'
- open tree 'configuration properties'
- select item 'VC++ Directories'
- edit item in right window 'library directories': you want to add something like '$(WindowsSDKDir)lib' to the beginning of this list. Check out the 'macros' button on this dialog to be sure the right macro points to the right folder.

good luck!
[quote name='Pimbolie1979' date='09 August 2011 - 01:01 AM' timestamp='1312880485' post='1276946']

Have nobody an idea?



The Windows SDK may not be setup right for your project - likely the original project didn't make use of this version of the windows SDK, or had it installed in a different folder (which it might appear to be on win7 x86).



So,



- right click on your project and select 'properties'

- open tree 'configuration properties'

- select item 'VC++ Directories'

- edit item in right window 'library directories': you want to add something like '$(WindowsSDKDir)lib' to the beginning of this list. Check out the 'macros' button on this dialog to be sure the right macro points to the right folder.



good luck!

#3
Posted 08/10/2011 05:42 AM   
Scroll To Top