使用STM32CubeMX生成的工程编译出现错误是什么原因啊

2019-07-20 13:05发布

Build target '跑马灯'
compiling main.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯main.d": No such file or directory
../Src/main.c: 0 warnings, 1 error
compiling stm32f7xx_it.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_it.d": No such file or directory
../Src/stm32f7xx_it.c: 0 warnings, 1 error
compiling stm32f7xx_hal_msp.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_msp.d": No such file or directory
../Src/stm32f7xx_hal_msp.c: 0 warnings, 1 error
compiling stm32f7xx_hal_dma_ex.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_dma_ex.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma_ex.c: 0 warnings, 1 error
compiling stm32f7xx_hal_tim.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_tim.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.c: 0 warnings, 1 error
compiling stm32f7xx_hal_pwr.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_pwr.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.c: 0 warnings, 1 error
compiling stm32f7xx_hal_i2c.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_i2c.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.c: 0 warnings, 1 error
compiling stm32f7xx_hal_rcc_ex.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_rcc_ex.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.c: 0 warnings, 1 error
compiling stm32f7xx_hal_dma.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_dma.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.c: 0 warnings, 1 error
compiling stm32f7xx_hal_cortex.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_cortex.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c: 0 warnings, 1 error
compiling stm32f7xx_hal_rcc.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_rcc.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.c: 0 warnings, 1 error
compiling stm32f7xx_hal_flash.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_flash.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash.c: 0 warnings, 1 error
compiling stm32f7xx_hal_tim_ex.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_tim_ex.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.c: 0 warnings, 1 error
compiling stm32f7xx_hal_gpio.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_gpio.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.c: 0 warnings, 1 error
compiling stm32f7xx_hal_flash_ex.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_flash_ex.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash_ex.c: 0 warnings, 1 error
compiling stm32f7xx_hal_pwr_ex.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_pwr_ex.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.c: 0 warnings, 1 error
compiling stm32f7xx_hal.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.c: 0 warnings, 1 error
compiling stm32f7xx_hal_i2c_ex.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯stm32f7xx_hal_i2c_ex.d": No such file or directory
../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c_ex.c: 0 warnings, 1 error
compiling system_stm32f7xx.c...
"no source": Error: command-line:  #564: cannot open preprocessing output output file "跑马灯system_stm32f7xx.d": No such file or directory
../Src/system_stm32f7xx.c: 0 warnings, 1 error
linking...
跑马灯跑马灯.axf: error: L6002U: Could not open file ?-μ?main.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
"跑马灯跑马灯.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:10

0条回答

一周热门 更多>