OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 4795|回复: 0

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

[复制链接]

62

主题

101

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
368
金钱
368
注册时间
2017-7-8
在线时间
65 小时
发表于 2017-7-10 21:54:40 | 显示全部楼层 |阅读模式
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

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-4-18 12:53

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表