I’m having 2 issues (one of which is now solved but put here to help others)
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.