Issues Running NPP 1.1 Examples Issues with NPP 1.1 Examples post build rules and SDK dll dependenci

I’m having 2 issues (one of which is now solved but put here to help others)

Fixed Issue
1)
the Project Post build events for VS2008 copy over a few dlls to the target directory. The copy commands use macroized paths. If you happend to stick the NPP STK in a parallel directory with the CUDA 3.0 SDK default path you end up with a space in the path name and the copy command line post build events can’t find the directory. This can be fixed by modifying the post-build event command line to wrap paths in quotes:
copy “(ProjectDir)\..\..\common\FreeImage\lib\FreeImage64.dll" "(TargetDir)” & copy “(ProjectDir)\..\..\common\lib\npp64_11.dll" "(TargetDir)”

Outstanding Issue with the NPP 1.1 or CUDA 3.0 SDKs

2.) Having fixed the post build events for the NPP 1.1 examples I can build the 3 examples but cannot debug them due to an incorrect dll dependency. It seems as though I can compile for x64 debug just fine, the

but I get an error :
“The program can’t start because cudart64_30_13.dll is missing from your computer. Try reinstalling to fix this problem”

It seems as though it copies over the files properly
\NPP_1_1_Windows64\SDK\common\lib\npp64_11.dll over to the bin directory fine but this dll then links to cudart64_30_13.dll which I assume should be part of CUDA 3.0 - however when I peruse the CUDA 3.0 SDK I find a newer version (cudart64_30_14.dll) in C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\bin\win64\Release and C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\bin\win64\Debug

Is there a way for me to rebuild npp64_11.dll to use cudart64_30_14.dll instead of cudart64_30_13.dll? I can’t seem to figure out whether or not these dlls are built in the SDKs or just provided with the SDKs?

Any Help is appreciated.

Erick

Regarding the outstanding issue:

If I hook freeImageInterop debug exe with dependency walker I can see it loads NPP64_11.DLL and FREEIMAGE64.DLL from the target output directory propelry and it does in fact load CUDART64_30_14.DLL from the CUDA_BIN_PATH\bin64…

Outstanding Issue with the NPP 1.1 or CUDA 3.0 SDKs

2.) Having fixed the post build events for the NPP 1.1 examples I can build the 3 examples but cannot debug them due to an incorrect dll dependency. It seems as though I can compile for x64 debug just fine, the

but I get an error :

“The program can’t start because cudart64_30_13.dll is missing from your computer. Try reinstalling to fix this problem”

It seems as though it copies over the files properly

\NPP_1_1_Windows64\SDK\common\lib\npp64_11.dll over to the bin directory fine but this dll then links to cudart64_30_13.dll which I assume should be part of CUDA 3.0 - however when I peruse the CUDA 3.0 SDK I find a newer version (cudart64_30_14.dll) in C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\bin\win64\Release and C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\bin\win64\Debug

Is there a way for me to rebuild npp64_11.dll to use cudart64_30_14.dll instead of cudart64_30_13.dll? I can’t seem to figure out whether or not these dlls are built in the SDKs or just provided with the SDKs?

Any Help is appreciated.

Erick

[/quote]

I had the same issue. Simply rename cudart64_30_14.dll to cudart64_30_13.dll but make sure _14 still remains. Problem solved :)

I have this problem compile cuviTest using visual studio 2008 :

1>------ Build started: Project: cuviTest, Configuration: Release x64 ------

1>Linking…

1>DWT_iDWT.obj : error LNK2001: unresolved external symbol cudaEventCreate

1>DWT_iDWT.obj : error LNK2001: unresolved external symbol cudaEventElapsedTime

1>DWT_iDWT.obj : error LNK2001: unresolved external symbol cudaEventSynchronize

1>DWT_iDWT.obj : error LNK2001: unresolved external symbol cudaEventRecord

1>DWT_iDWT.obj : error LNK2001: unresolved external symbol cudaEventDestroy

1>DWT_iDWT.obj : error LNK2001: unresolved external symbol cudaMemcpy

1>C:\Program Files\CUVI\Samples\cuviTest\x64\Release\cuviTest.exe : fatal error LNK1120: 6 unresolved externals

1>Build log was saved at “file://c:\Program Files\CUVI\Samples\cuviTest\cuviTest\x64\Release\BuildLog.htm”

1>cuviTest - 7 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========