成功解决Ubuntu下的include/darknet.h:14:14: fatal error: cuda_runtime.h: No such file or directory

目录

解决问题

解决思路

解决办法


解决问题

include/darknet.h:14:14: fatal error: cuda_runtime.h: No such file or directory
     #include "cuda_runtime.h"

解决思路

包括/ darknet。h:14:14:致命错误:cuda_runtime。h:没有这样的文件或目录
# include“cuda_runtime.h”

解决办法

显然,该问题是因为路径下不存在该文件,
T1、重新安装或下载GPU加速的cuda文件,cuda_runtime.h到指定文件夹即可,
T2、如果你使用CMake命令,可以直接
find_package(CUDA  REQUIRED)
include_directories("${CUDA_INCLUDE_DIRS}")
T3、也可以查看stackflow上的回答,按照下边的命令进行设置亦可!

成功解决Ubuntu下的include/darknet.h:14:14: fatal error: cuda_runtime.h: No such file or directory相关推荐

  1. 成功解决Ubuntu下的make: gcc: Command not found Makefile:85: recipe for target 'obj/gemm.o' failed make: **

    成功解决Ubuntu下的make: gcc: Command not found Makefile:85: recipe for target 'obj/gemm.o' failed make: ** ...

  2. ubuntu + eigen3 安装(解决 fatal error: Eigen/Core: No such file or directory)

    ubuntu + eigen3 安装(解决 fatal error: Eigen/Core: No such file or directory) 转载链接:https://www.cnblogs.c ...

  3. uwsgi 安装报错 plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory

    1. Python3 安装 uwsgi 报错 直接使用命令 sudo pip3 install uwsgi 安装如下错误: ubuntu@ubuntu:~/Downloads$ sudo pip3 i ...

  4. Install matplotlib Error: src/ft2font.h:16:22: fatal error: ft2build.h: No such file or directory

    在ubuntu下从源码安装matplotlib的时候出现这样的错误: src/ft2font.h:16:22: fatal error: ft2build.h: No such file or dir ...

  5. fatal error: cuda_runtime.h: No such file or directory

    背景 今天本人想跑个Yolact模型玩玩,但是在训练的过程中,需要DCN网络模型,这个需要使用CUDA对相关文件进行编译,但是报错了,主要错误是: cuda_runtime.h: No such fi ...

  6. 在Jetson Xavier NX上安装pycuda报错:src/cpp/cuda.hpp:14:10: fatal error: cuda.h: No such file or directory

    文章目录: 1 我的系统环境和遇到问题分析 1.1 我的系统环境 1.2 问题描述 2 问题解决方式 1 我的系统环境和遇到问题分析 1.1 我的系统环境 我的详细系统环境如下:使用jetson_re ...

  7. bedtools2安装报错:fatal error: zlib.h

    安装bedtools,执行make报错如下: Building BEDTools: ========================================================= ...

  8. 运维经验分享(三)-- 解决Ubuntu下crontab不能正确执行脚本的问题

    原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明.否则将追究法律责任.http://dgd2010.blog.51cto.com/1539422/1676490 运维 ...

  9. (转)解决ubuntu下拼音输入法出错的问题

    (转)解决ubuntu下拼音输入法出错的问题 参考文章: (1)(转)解决ubuntu下拼音输入法出错的问题 (2)https://www.cnblogs.com/qiucz/p/7806012.ht ...

最新文章

  1. SAP QM 执行事务代码QS23为检验特性分配Selected Set的时候报错 - You cannot use entries from catalogs 1 and 3-
  2. 如何安装和配置 Rex-Ray?- 每天5分钟玩转 Docker 容器技术(74)
  3. 重置outlook 2010
  4. 【Vegas原创】将treeview父结点的链接改为折叠事件
  5. KVM(Keyboard、Video、Mouse)
  6. Webpack/Vue-cli两种方式加载markdown文件并实现代码高亮
  7. List转数组toArray方法
  8. Sublime Text 4不显示未注册的方法
  9. R语言分类算法之线性判别分析(Linear Discriminant Analysis)
  10. 【java虚拟机系列】JVM类加载器与ClassNotFoundException和NoClassDefFoundError
  11. .net中实现文件下载的几种方法(收藏)
  12. 8月第一周IT类网站/频道排名:天极网跃居第三
  13. word html 预览 打印出来,word预览时文字在表格中,打印出来却没有.doc
  14. java 修改Chrome浏览器的默认下载路径
  15. 问答题库(路由与交换){简答版}
  16. 线代9讲 第八讲 相似理论
  17. 苹果发布会总结:Mac 三产品线更新自研 M1 芯片,尝鲜只要 5299 元
  18. 银行贷款违约风险预测
  19. 使用Contect.Handler显示提交过来的“编辑成功”的信息
  20. 缘起和性空-佛教对自然的看法(转载整理)

热门文章

  1. 调用Cython时报错: More than one filename match found for utility code Capsule
  2. python创建实例时显示没有参数-OSError无法创建文件无效参数
  3. 协方差矩阵的概念,算法以及自己的一些理解
  4. Linux cpuidle framework(4)_menu governor
  5. 10月29日云栖精选夜读 | 十条精进原则,给迷茫于劳而无功的技术人
  6. 设计模式——代理模式
  7. 5分钟内搞定 Tomcat 的 SSL 配置
  8. oracledb_npm包的使用
  9. npm run dev 出现npm ERR!missing scrip:dev
  10. 3.10以上charles版本抓取Https数据包