error: #5: cannot open source input file core_cm3.h: No such file or directory
用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相关推荐
- 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 是找不到包含文 ...
- _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 ...
- 【python基础知识】error C1083: 无法打开包括文件: “numpy/arrayobject.h”: No such file
依然是运行 python setup.py build 出现该错误,前面的问题解决后冒出来的新错误. 结果是将numpy文件夹添加到setup.py文件中的include中即可. ---------- ...
- 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 我的源代码测试回调函数 ...
- 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 ...
- 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 ...
- OpenGL开发时,fatal error C1083: 无法打开包括文件:“gl\glut.h”: No such file or directory...
本人使用的是vs2012,编写一个简单的opengl程序,运行的时候总是提示: fatal error C1083: 无法打开包括文件:"gl/glut.h": No such f ...
- 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 ...
- 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 ...
最新文章
- 一步一步学Silverlight 2系列(34):使用Silverlight Streaming托管Silverlight应用程序_转载...
- 技术高手如何炼成?--转自知乎
- linux下防火墙加白名单
- OpenCV SURF FLANN匹配的实例(附完整代码)
- 【最小费用可行流模板】
- 浅谈Spring IOC和DI及Spring工厂类
- [开发笔记]-判断当前是否联网
- Java课程烧CPU吗_java程序员:完了!CPU一味求快出事儿了!
- 从程序员角度--解决ipad白苹果问题的最佳办法---纠正网上的错误言论
- C#操作EXCLE表
- TwinCAT 3 EtherCAT控制伺服
- win10不能访问服务器共享文件夹权限,win10没有权限访问共享文件夹(有效解决共享文件夹权限问题)...
- iOS 禁止横屏的解决方案
- 十大概念:每个软件工程师的必备
- 【深度学习】Yolo记录
- 前段时间 qq大战 360..
- css获取屏幕分辨率
- 你知道几种编程思想?
- 【CodeWars】Path Finder #2: shortest path
- php 足迹,php实现网站浏览足迹功能