您的计算机缺少cudart32_31_9.dll

时间:2011-11-17 14:55:10

标签: visual-studio-2010 cuda

我有一个visual studio 2010 c ++解决方案(使用cuda和nsight),它构建得很好,但我尝试运行它,它告诉我这个:

The program can't start because cudart32_31_9.dll is missing from your computer. Try reinstalling the program to fix this problem.

我看了,我的计算机上有cudart32_31_9.dll和cudart.lib,在我的链接器选项中,我设置了附加依赖项,其链接指向我的cudart.lib(假设是“链接”)有问题的DLL)。

我看过谷歌,但我发现的唯一的东西似乎与一个名为“折叠”的程序有关......这不是我的问题。

任何提示都会被指定:)

1 个答案:

答案 0 :(得分:3)

我认为这是一个“拼写错误”,但链接DLL没有意义。但是,要解决主要问题,请确保cudart32_31_9.dll位于可执行文件的目录中,或者其目录是PATH环境变量的一部分。