C++ cudart64_80.dll 丢失
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/42153187/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
cudart64_80.dll is missing
提问by Thara
I use CMake-gui 3.8
for making project gadgetron
(https://github.com/gadgetron/gadgetron). The code generator is "Eclipse CDT4-MinGW Makefiles". The Configure
button click generates error as
我CMake-gui 3.8
用于制作项目gadgetron
(https://github.com/gadgetron/gadgetron)。代码生成器是“Eclipse CDT4-MinGW Makefiles”。该Configure
按钮点击产生误差
The program can't start because cudart64_80.dll is missing from your computer. Try reinstalling the program to fix this problem.
The file cudart64_80.dll
is at location C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin and this path is included in system variable Path
.
该文件cudart64_80.dll
位于 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin 并且该路径包含在系统变量中Path
。
Followed the links: libgmp-10.dll is missingand CMAKE libintl-8.dll is missing from your computer
按照链接: libgmp-10.dll is missingand CMAKE libintl-8.dll is missing from your computer
I am also mentioning the cuda
related Confiugre output log below:
我还提到了cuda
下面的相关 Configure 输出日志:
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
Thanks.
谢谢。
采纳答案by Thara
I could solve the problem by creating a batch file for executing cmake-gui.exe with path set to location of folder containing cudart64_80.dll. Thanks to the comments.
我可以通过创建一个批处理文件来解决这个问题,用于执行 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"