缺少cudart64_80.dll

时间:2017-02-10 06:52:04

标签: c++ cuda cmake

我使用CMake-gui 3.8制作项目gadgetronhttps://github.com/gadgetron/gadgetron)。代码生成器是“Eclipse CDT4-MinGW Makefile”。 Configure按钮单击会生成错误

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

文件cudart64_80.dll位于C:\ Program Files \ NVIDIA GPU Computing Toolkit \ CUDA \ v8.0 \ bin,此路径包含在系统变量Path中。

点击链接: libgmp-10.dll is missingCMAKE libintl-8.dll is missing from your computer

我还提到下面的cuda相关Confiugre输出日志:

Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0 (found suitable version "8.0", minimum required is "5.5") 
CUDA_TOOLKIT_INCLUDE = C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/include
CUDA_CUDART_LIBRARY = C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/lib/x64/cudart.lib

感谢。

1 个答案:

答案 0 :(得分:2)

我可以通过创建一个批处理文件来执行cmake-gui.exe来解决问题,路径设置为包含cudart64_80.dll的文件夹的位置。感谢您的评论。

@echo off
set path=C:\Program Files\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;E:\IMRI\Software\doxygen-1.8.12.windows.x64.bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;
"C:\Program Files\CMake\bin\cmake-gui.exe"