..\..\Libraries\CMSIS\stm32f10x.h(511): error: #256: invalid redeclaration of type name "uint32_t" (declared at line 46 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(511): error: #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(512): error: #20: identifier "__IO" is undefined
compiling bsp_led.c...
..\..\Libraries\CMSIS\core_cm3.h(21): error: #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\core_cm3.h(21): error: #18: expected a ")"
..\..\Libraries\CMSIS\core_cm3.h(31): warning: #223-D: function "LED_GPIO_Config" declared implicitly
..\..\Libraries\CMSIS\core_cm3.h(36): warning: #223-D: function "LED1" declared implicitly
..\..\Libraries\CMSIS\core_cm3.h(36): error: #20: identifier "ON" is undefined
..\..\Libraries\CMSIS\core_cm3.h(38): error: #20: identifier "OFF" is undefined
..\..\Libraries\CMSIS\core_cm3.h(40): warning: #223-D: function "LED2" declared implicitly
..\..\Libraries\CMSIS\core_cm3.h(44): warning: #223-D: function "LED3" declared implicitly
..\..\Libraries\CMSIS\core_cm3.h(51): error: #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\core_cm3.h(51): error: #18: expected a ")"
..\..\Libraries\CMSIS\core_cm3.h(53): error: #20: identifier "nCount" is undefined
..\..\Libraries\CMSIS\system_stm32f10x.h(53): error: #20: identifier "uint32_t" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(495): error: #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(495): error: #256: invalid redeclaration of type name "int32_t" (declared at line 40 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(495): error: #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(496): error: #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(496): error: #256: invalid redeclaration of type name "int16_t" (declared at line 39 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(496): error: #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(497): error: #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(497): error: #256: invalid redeclaration of type name "int8_t" (declared at line 38 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(497): error: #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(499): error: #20: identifier "__I" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(499): error: #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(500): error: #20: identifier "__I" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(500): error: #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(501): error: #20: identifier "__I" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(501): error: #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(511): error: #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(511): error: #256: invalid redeclaration of type name "uint32_t" (declared at line 46 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(511): error: #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(512): error: #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(512): error: #256: invalid redeclaration of type name "uint16_t" (declared at line 45 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(512): error: #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(513): error: #20: identifier "__IO" is undefined
"..\..\Output\流水灯.axf" - 781 Errors, 54 Warning(s).
Target not created1.安装路径没有出现中文
也使用管理员身份装mdk
使用管理员身份打开MDK及破解软件破解。重装了好几遍还是不行
compiling stm32f10x_i2c.c...
..\FWlib\src\stm32f10x_i2c.c(23): error: #5: cannot open source input file "stm32f10x_i2c.h": No such file or directory
compiling stm32f10x_iwdg.c...
..\FWlib\src\stm32f10x_iwdg.c(23): error: #5: cannot open source input file "stm32f10x_iwdg.h": No such file or directory
compiling stm32f10x_pwr.c...
..\FWlib\src\stm32f10x_pwr.c(23): error: #5: cannot open source input file "stm32f10x_pwr.h": No such file or directory
compiling stm32f10x_rcc.c...
..\FWlib\src\stm32f10x_rcc.c(23): error: #5: cannot open source input file "stm32f10x_rcc.h": No such file or directory
compiling stm32f10x_rtc.c...
..\FWlib\src\stm32f10x_rtc.c(23): error: #5: cannot open source input file "stm32f10x_rtc.h": No such file or directory
compiling stm32f10x_sdio.c...
..\FWlib\src\stm32f10x_sdio.c(23): error: #5: cannot open source input file "stm32f10x_sdio.h": No such file or directory
compiling stm32f10x_spi.c...
..\FWlib\src\stm32f10x_spi.c(23): error: #5: cannot open source input file "stm32f10x_spi.h": No such file or directory
compiling stm32f10x_tim.c...
..\FWlib\src\stm32f10x_tim.c(23): error: #5: cannot open source input file "stm32f10x_tim.h": No such file or directory
compiling stm32f10x_usart.c...
..\FWlib\src\stm32f10x_usart.c(23): error: #5: cannot open source input file "stm32f10x_usart.h": No such file or directory
compiling stm32f10x_wwdg.c...
..\FWlib\src\stm32f10x_wwdg.c(23): error: #5: cannot open source input file "stm32f10x_wwdg.h": No such file or directory
compiling core_cm3.c...
compiling system_stm32f10x.c...
..\CMSIS\stm32f10x.h(8297): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
"..\Output\STM-DEMO1.axf" - 26 Errors, 0 Warning(s).
Target not created这是那个头文件没包含进去,咋回事啊?