error:#5:cannotopensourceinputfile"stm32f10x_lib.h":Nosuchfileordirectory
来源:互联网 发布:js点击按钮执行ctrl c 编辑:程序博客网 时间:2024/06/07 01:34
问题现象:
test.c(1):error:#5:cannotopensourceinputfile"stm32f10x_lib.h":Nosuchfileordirectory
compilingdelay.c...
..\SYSTEM\delay\delay.c(1):error:#5:cannotopensourceinputfile"stm32f10x_lib.h":Nosuchfileordirectorycompilingsys.c...
..\SYSTEM\sys\sys.c(1):error:#5:cannotopensourceinputfile"stm32f10x_lib.h":Nosuchfileordirectorycompilingusart.c...
..\SYSTEM\sys\sys.h(3):error:#5:cannotopensourceinputfile"stm32f10x_lib.h":Nosuchfileordirectorycompilingled.c...
..\HARDWARE\LED\led.c(1):error:#5:cannotopensourceinputfile"stm32f10x_lib.h":NosuchfileordirectoryTargetnotcreated
问题分析:
ST的固件库旧版本才有"stm32f10x_lib.h" ,如果使用旧库的程序移植到新库工程中引起
解决办法:
将 #include "stm32f10x_lib.h" -> "#include "stm32f10x.h" 再重新 rebulid 就可以解决了 ^_^。
- error:#5:cannotopensourceinputfile"stm32f10x_lib.h":Nosuchfileordirectory
- #include<stm32f10x_lib.h>和#include<stm32f10x.h>有什么不同
- #include<stm32f10x_lib.h>和#include<stm32f10x.h>的区别
- xcode修改代码目录结构出现clang:error:nosuchfileordirectory解决方法
- stm32新旧MDK代码移植,stm32f10x_lib.h、stm32f10x_conf.h等问题
- error.h
- stm32f10x.h 是库3.0以后的; stm32f10x_lib.h 这个是库2.0的吧 哎,打开看看不就知道了啊!
- opnet14.5 vs2010 win7 windef.h error
- error:#include"Point.h";
- 错误报告error.h
- setupapi.h(37) : error
- error: mcrypt.h
- include/config.h:5:22: error: configs/.h: No such file or directory
- atlbase.h error C2061解决
- blog error #include "stream.h"
- C 标准库 error.h
- fatal error C1189: WINDOWS.H
- error.h 的相关错误代码
- ROS学习手记 9 -- 阶段性复习
- RelativeLayout在ViewPager中的一个bug
- 设计模式之工厂模式
- python——scrapy安装成功,check项目成功,运行出现一下问题
- ROS学习手记 - 2.1: Create and Build ROS Package 生成包(Python)
- error:#5:cannotopensourceinputfile"stm32f10x_lib.h":Nosuchfileordirectory
- 每个对象都有自己的由其他对象所构成的存储
- search for a range
- 【线段树】 HDOJ 5283 Senior's Fish
- shell学习四十二天----使用touch更新文件时间
- HDU 2199 二分查找
- [leetcode] 147.Insertion Sort List
- 交换排序之冒泡排序
- XJTU Summer Holiday Test 1(Divisibility by Eight-8的倍数)