打印

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

[复制链接]
350|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
大碴子味|  楼主 | 2018-7-16 08:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

372

主题

372

帖子

0

粉丝