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
It is telling you that there is "No such file or directory".
There are two possible reasons for that:
1. The file really does not exist at all on your machine;
2. The file does exist, but you haven't correctly configured you project to be able to find it.
See 'Include Paths': http://www.keil.com/support/man/docs/uv4/uv4_dg_adscc.htm