我使用CMake-gui 3.8
制作项目gadgetron
(https://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 missing和 CMAKE 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
感谢。
答案 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"