找回密码
 注册

QQ登录

只需一步,快速开始

搜索

Keil MDK 5 编译错误提示 找不到stm32f10x_lib.h解决办法

[复制链接]
coolice 发表于 2021-12-15 21:10:52 | 显示全部楼层 |阅读模式
主程序编译会出现缺少"stm32f10x_lib.h"文件,提示cannot open source input file "stm32f10x_lib.h": No such file or directory
2.jpg
解决办法:
1.出现这种情况一般是keil mdk5打开了mdk 4版本的工程,建议安装keil mdk 4(mdk4.74版本支持windows10操作系统)
2.下载本文附件,解压后在主程序目录添加"STM32F10x",在target opition中的C/C++选项卡中的include path路径中添加"STM32F10x"路径。
STM32F10x.zip (138.97 KB)

1.jpg
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|ELEOK |网站地图

GMT+8, 2024-4-18 22:03

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表