..\..\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及**软件**。重装了好几遍还是不行 |