刚开始的时候
Rebuild target 'Target 1'
assembling STM32F10x.s...
compiling test.c...
test.c(1): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include <stm32f10x_lib.h>
test.c: 0 warnings, 1 error
compiling delay.c...
..SYSTEMdelaydelay.c(1): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include <stm32f10x_lib.h>
..SYSTEMdelaydelay.c: 0 warnings, 1 error
compiling sys.c...
..SYSTEMsyssys.c(1): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include <stm32f10x_lib.h>
..SYSTEMsyssys.c: 0 warnings, 1 error
compiling usart.c...
..SYSTEMsyssys.h(3): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include <stm32f10x_lib.h>
..SYSTEMusartusart.c: 0 warnings, 1 error
compiling led.c...
..HARDWARELEDled.c(1): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include <stm32f10x_lib.h>
..HARDWARELEDled.c: 0 warnings, 1 error
compiling key.c...
..HARDWAREKEYkey.c(1): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include <stm32f10x_lib.h>
..HARDWAREKEYkey.c: 0 warnings, 1 error
compiling exti.c...
..SYSTEMsyssys.h(3): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include <stm32f10x_lib.h>
..HARDWAREEXTIexti.c: 0 warnings, 1 error
compiling wdg.c...
..SYSTEMsyssys.h(3): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include <stm32f10x_lib.h>
..HARDWAREWDGwdg.c: 0 warnings, 1 error
compiling timer.c...
..SYSTEMsyssys.h(3): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include <stm32f10x_lib.h>
..HARDWARETIMER imer.c: 0 warnings, 1 error
".TEST.axf" - 9 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:03
这几个错误全是 cannot open source input file "stm32f10x_lib.h": No such file or directory
一周热门 更多>