碧云天书 发表于 2014-11-5 20:52
请你先下载STM32Cube_FW_F4_V1.3.0库,然后解压缩到硬盘上。
然后下载顶楼的压缩包并解压。将解压出来的U ...
我照做了,但是还是找不到包含文件啊。。。
Rebuild target 'STM32F4-Discovery_USBD-HS'
assembling startup_stm32f407xx.s...
compiling main.c...
..\Inc\main.h(33): error: #5: cannot open source input file "stm32f4xx_hal.h": No such file or directory
#include "stm32f4xx_hal.h"
..\Src\main.c: 0 warnings, 1 error
compiling stm32f4xx_hal_msp.c...
..\Src\stm32f4xx_hal_msp.c(39): error: #5: cannot open source input file "stm32f4xx_hal.h": No such file or directory
#include "stm32f4xx_hal.h"
..\Src\stm32f4xx_hal_msp.c: 0 warnings, 1 error
compiling stm32f4xx_it.c...
..\Inc\main.h(33): error: #5: cannot open source input file "stm32f4xx_hal.h": No such file or directory
#include "stm32f4xx_hal.h"
..\Src\stm32f4xx_it.c: 0 warnings, 1 error
compiling usbd_cdc_interface.c...
..\Inc\main.h(33): error: #5: cannot open source input file "stm32f4xx_hal.h": No such file or directory
#include "stm32f4xx_hal.h"
..\Src\usbd_cdc_interface.c: 0 warnings, 1 error
compiling usbd_conf.c...
..\Src\usbd_conf.c(29): error: #5: cannot open source input file "stm32f4xx_hal.h": No such file or directory
#include "stm32f4xx_hal.h"
..\Src\usbd_conf.c: 0 warnings, 1 error
compiling usbd_desc.c...
..\Src\usbd_desc.c(29): error: #5: cannot open source input file "usbd_core.h": No such file or directory
#include "usbd_core.h"
..\Src\usbd_desc.c: 0 warnings, 1 error
compiling cs43l22.c...
cs43l22.c: Error: #5: cannot open source input file "..\..\..\..\..\..\Drivers\BSP\Components\cs43l22\cs43l22.c": No such file or directory
..\..\..\..\..\..\Drivers\BSP\Components\cs43l22\cs43l22.c: 0 warnings, 1 error
".\STM32F4-Discovery_USBD-HS\STM32F4-Discovery_USBD-HS.axf" - 7 Error(s), 0 Warning(s).
Target not created |