新手入门
- 积分
- 19
- 金钱
- 19
- 注册时间
- 2020-6-15
- 在线时间
- 5 小时
|
1金钱
搭建开发环境过程中,根据教学视频安装完成MDK5,安装路径不含中文,并且已经注册破解,并且已删除ADS1.2相关软件、环境变量、注册表内容,运行A盘/源代码/库函数/跑马灯时还是出现报错内容,翻遍论坛所有解决方案,没有效果
Build target 'LED'
compiling main.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
main.c: 0 warnings, 1 error
compiling stm32f10x_it.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
stm32f10x_it.c: 0 warnings, 1 error
compiling system_stm32f10x.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
system_stm32f10x.c: 0 warnings, 1 error
compiling led.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
..\HARDWARE\LED\led.c: 0 warnings, 1 error
compiling delay.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
..\SYSTEM\delay\delay.c: 0 warnings, 1 error
compiling sys.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
..\SYSTEM\sys\sys.c: 0 warnings, 1 error
compiling usart.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
..\SYSTEM\usart\usart.c: 0 warnings, 1 error
compiling core_cm3.c...
..\CORE\core_cm3.c(24): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h>
..\CORE\core_cm3.c: 0 warnings, 1 error
compiling misc.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
..\STM32F10x_FWLib\src\misc.c: 0 warnings, 1 error
compiling stm32f10x_gpio.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
..\STM32F10x_FWLib\src\stm32f10x_gpio.c: 0 warnings, 1 error
compiling stm32f10x_dbgmcu.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
..\STM32F10x_FWLib\src\stm32f10x_dbgmcu.c: 0 warnings, 1 error
compiling stm32f10x_rcc.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
..\STM32F10x_FWLib\src\stm32f10x_rcc.c: 0 warnings, 1 error
compiling stm32f10x_usart.c...
..\CORE\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
..\STM32F10x_FWLib\src\stm32f10x_usart.c: 0 warnings, 1 error
"..\OBJ\LED.axf" - 13 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01
|
最佳答案
查看完整内容[请看2#楼]
本质上好像和之前差别不大 还是库不全。上次找不到stdint.h 这次他报找不到ARM库。除非有人踩过这个坑,不然只能靠你自己找错误的出处了。
|