This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ER:cannot open source input file "stdint.h": No such file or directory

I am new to Keil uVision4, I get these errors when I compile a project .

Build target 'STM32F103VET6 FLASH'
compiling main.c...
..\Libraries\CMSIS\Core\CM3\core_cm3.h(85): error: #5: cannot open source input file "stdint.h": No such file or directory #include <stdint.h> /* Include standard types */
..\User\main.c: 0 warnings, 1 error
compiling stm32f10x_it.c...
..\Libraries\CMSIS\Core\CM3\core_cm3.h(85): error: #5: cannot open source input file "stdint.h": No such file or directory #include <stdint.h> /* Include standard types */
..\User\stm32f10x_it.c: 0 warnings, 1 error
compiling stm32f10x_gpio.c...
..\Libraries\CMSIS\Core\CM3\core_cm3.h(85): error: #5: cannot open source input file "stdint.h": No such file or directory #include <stdint.h> /* Include standard types */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c: 0 warnings, 1 error
compiling stm32f10x_rcc.c...
..\Libraries\CMSIS\Core\CM3\core_cm3.h(85): error: #5: cannot open source input file "stdint.h": No such file or directory #include <stdint.h> /* Include standard types */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c: 0 warnings, 1 error
compiling core_cm3.c...
..\Libraries\CMSIS\Core\CM3\core_cm3.c(24): error: #5: cannot open source input file "stdint.h": No such file or directory #include <stdint.h>
..\Libraries\CMSIS\Core\CM3\core_cm3.c: 0 warnings, 1 error
compiling system_stm32f10x.c...
..\Libraries\CMSIS\Core\CM3\core_cm3.h(85): error: #5: cannot open source input file "stdint.h": No such file or directory #include <stdint.h> /* Include standard types */
..\Libraries\CMSIS\Core\CM3\system_stm32f10x.c: 0 warnings, 1 error
assembling startup_stm32f10x_hd.s...
"..\Obj\Myselfdemo.axf" - 6 Error(s), 0 Warning(s).
Target not created

Any help would be greatly appreciated.
Thanks and regards
wanyan

0