小学生
最后登录1970-1-1
在线时间 小时
注册时间2025-1-14
|
官网下的Arm Compiler 5.06__ARM编译版本
编译后报错27处都是找不到stdint.h这个头文件,keil5里面找了下这个头文件的位置,在自己下载的v5.06版编辑器目录下,这个地方怎么处理,大佬们支个招。
具体报错如下:
Build started: Project: gjk_text
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'D:\Keil_v5\ARM\Legacy Arm Compiler 5, 4.1, and RVCT (ACOMP5)\Bin'
Build target 'Target 1'
compiling stm32f10x_cec.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_cec.c: 0 warnings, 1 error
compiling stm32f10x_adc.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_adc.c: 0 warnings, 1 error
compiling stm32f10x_can.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_can.c: 0 warnings, 1 error
compiling stm32f10x_flash.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_flash.c: 0 warnings, 1 error
compiling stm32f10x_dma.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_dma.c: 0 warnings, 1 error
compiling stm32f10x_dbgmcu.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_dbgmcu.c: 0 warnings, 1 error
compiling misc.c...
..\Libraries\CMSIS\core_cm3.h(90): 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\misc.c: 0 warnings, 1 error
compiling stm32f10x_dac.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_dac.c: 0 warnings, 1 error
compiling stm32f10x_crc.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_crc.c: 0 warnings, 1 error
compiling stm32f10x_bkp.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_bkp.c: 0 warnings, 1 error
compiling core_cm3.c...
..\Libraries\CMSIS\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.c: 0 warnings, 1 error
compiling system_stm32f10x.c...
..\Libraries\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include <stdint.h> /* Include standard types */
..\Libraries\CMSIS\system_stm32f10x.c: 0 warnings, 1 error
compiling stm32f10x_exti.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_exti.c: 0 warnings, 1 error
compiling stm32f10x_fsmc.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_fsmc.c: 0 warnings, 1 error
compiling stm32f10x_gpio.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_i2c.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_i2c.c: 0 warnings, 1 error
compiling stm32f10x_iwdg.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_iwdg.c: 0 warnings, 1 error
compiling stm32f10x_pwr.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_pwr.c: 0 warnings, 1 error
compiling stm32f10x_rcc.c...
..\Libraries\CMSIS\core_cm3.h(90): 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 stm32f10x_rtc.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_rtc.c: 0 warnings, 1 error
compiling stm32f10x_sdio.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_sdio.c: 0 warnings, 1 error
compiling stm32f10x_spi.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_spi.c: 0 warnings, 1 error
compiling stm32f10x_tim.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_tim.c: 0 warnings, 1 error
compiling stm32f10x_usart.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_usart.c: 0 warnings, 1 error
compiling stm32f10x_wwdg.c...
..\Libraries\CMSIS\core_cm3.h(90): 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_wwdg.c: 0 warnings, 1 error
compiling main.c...
..\Libraries\CMSIS\core_cm3.h(90): 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.h(90): 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
".\Objects\gjk_text.axf" - 27 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01
|
|