|
最近刚收到开发板,开始测试的时候发现例程里面的点亮LED工程编译的时候会出现如下错误: 请问这个原因是什么,library文件应该已经在硬盘了,不应该是路径问题吧?谢谢回答.
编译结果如下:
Build target 'Flash'
compiling main.c...
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: #include "stdint.h" /* Include standard types */
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: ^
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: ..\..\User\main.c: 0 warnings, 1 error
assembling startup_stm32f10x_hd.s...
compiling stm32f10x_gpio.c...
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: #include "stdint.h" /* Include standard types */
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: ^
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: ..\..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c: 0 warnings, 1 error
compiling core_cm3.c...
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c(24): error: #5: cannot open source input file "stdint.h": No such file or directory
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c: #include <stdint.h>
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c: ^
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c: ..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c: 0 warnings, 1 error
compiling system_stm32f10x.c...
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: #include "stdint.h" /* Include standard types */
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: ^
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: ..\..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.c: 0 warnings, 1 error
compiling stm32f10x_rcc.c...
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: #include "stdint.h" /* Include standard types */
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: ^
..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h: ..\..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c: 0 warnings, 1 error
Target not created
|
|