用Keil  vision5编译时出现以下错误:

D:\MDK\install\ARM\PACK\Keil\STM32F1xx_DFP\2.2.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory。

这是因为你装的MDK版本太新了,比如MDK5.12/5.13,它们不会从MDK安装目录去查找头文件。 所以导致这个错误。

解决方法如下:

把图片中的文件复制到keil软件安装的include目录下:

D:\MDK\install\ARM\PACK\Keil\STM32F1xx_DFP\2.2.0\Device\Include

在编译结果成功:

error: #5: cannot open source input file core_cm3.h: No such file or directory相关推荐

  1. 02_Keil5报错 error: #5: cannot open source input file “XXX.h”: No such file or directory解决方法

    Keil5  error: #5: cannot open source input file "led.h": No such file or directory 是找不到包含文 ...

  2. _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':no such file or directory

    Window7下使用"pip"安装"MySQL-python"提示错误:_mysql.c(42) : fatal error C1083: Cannot ope ...

  3. 【python基础知识】error C1083: 无法打开包括文件: “numpy/arrayobject.h”: No such file

    依然是运行 python setup.py build 出现该错误,前面的问题解决后冒出来的新错误. 结果是将numpy文件夹添加到setup.py文件中的include中即可. ---------- ...

  4. fatal error C1083: Cannot open include file: 'iostream.h': No such file or dire

    错误: fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory 我的源代码测试回调函数 ...

  5. MySQLdb/_mysql.c(29) : fatal error C1083: Cannot open include file: ‘mysql.h‘: No such file or direc

    环境:64位Windows10系统,python2.7.15 问题:安装pip install mysqlclient时报错MySQLdb/_mysql.c(29) : fatal error C10 ...

  6. windows 安装达梦数据库Python 报错:fatal error C1083: Cannot open include file: ‘DPI.h‘: No such file or direc

    报错: c:\dmdms program\drivers\python\dmpython\strct.h(18): fatal error C1083: Cannot open include fil ...

  7. OpenGL开发时,fatal error C1083: 无法打开包括文件:“gl\glut.h”: No such file or directory...

    本人使用的是vs2012,编写一个简单的opengl程序,运行的时候总是提示: fatal error C1083: 无法打开包括文件:"gl/glut.h": No such f ...

  8. mysql-python 安装错误: Cannot open include file: 'config-win.h': No such file or directory

    问题描述: pip instal MySQL-Python 出现如下错误: [plain] view plain copy Installing collected packages: MySql-p ...

  9. Keil编译报错:Cannot open include file: 'stdbool.h': No such file or directory问题解决

    Keil编译出现报错:Cannot open include file: 'stdbool.h': No such file or directory,或者出现Error: L6411E: No co ...

最新文章

  1. 一步一步学Silverlight 2系列(34):使用Silverlight Streaming托管Silverlight应用程序_转载...
  2. 技术高手如何炼成?--转自知乎
  3. linux下防火墙加白名单
  4. OpenCV SURF FLANN匹配的实例(附完整代码)
  5. 【最小费用可行流模板】
  6. 浅谈Spring IOC和DI及Spring工厂类
  7. [开发笔记]-判断当前是否联网
  8. Java课程烧CPU吗_java程序员:完了!CPU一味求快出事儿了!
  9. 从程序员角度--解决ipad白苹果问题的最佳办法---纠正网上的错误言论
  10. C#操作EXCLE表
  11. TwinCAT 3 EtherCAT控制伺服
  12. win10不能访问服务器共享文件夹权限,win10没有权限访问共享文件夹(有效解决共享文件夹权限问题)...
  13. iOS 禁止横屏的解决方案
  14. 十大概念:每个软件工程师的必备
  15. 【深度学习】Yolo记录
  16. 前段时间 qq大战 360..
  17. css获取屏幕分辨率
  18. 你知道几种编程思想?
  19. 【CodeWars】Path Finder #2: shortest path
  20. php 足迹,php实现网站浏览足迹功能

热门文章

  1. go语言中将函数作为变量传递
  2. 在Linux命令行下运行Matlab
  3. 实现不是三角形尾巴的气泡框
  4. 2017-2018-2 165X 『Java程序设计』课程 助教总结
  5. 编程开发之--Oracle数据库--存储过程和存储函数(2)
  6. Cpp6 封装、继承和多态
  7. 重启asp.net 命令
  8. 如何找回被create or replace覆盖的PL/SQL对象
  9. Windows GPT磁盘GUID结构详解
  10. 试图执行系统不支持的操作