552 views
in Embedded Wizard Studio by
Hello,

I tried to use the hello world example and get the following error while try to "make" the project using the following link example(http://doc.embedded-wizard.de/getting-started-stm32f469-discovery):

STM32Cube check failed:
The STM32Cube package was not found on the expected path:
'D:\STM32\STM32F469-Discovery\Build\..\..\STM32Cube_FW_F4'.
Please install the STM32Cube package to this folder [Please refer to ReadMe.txt]

or adapt the STM32Cube path in 'Build\devenv.cmd'.

D:\STM32\STM32F469-Discovery\Examples>make
make: *** No targets specified and no makefile found.  Stop.

D:\STM32\STM32F469-Discovery\Examples>cd HelloWorld

D:\STM32\STM32F469-Discovery\Examples\HelloWorld>make
-------------------------------------------------
Creating HelloWorld
-------------------------------------------------
Compiler Options: -O2 -Wall -mcpu=cortex-m4 -mlittle-endian -mthumb -mthumb-inte
rwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DSTM32F469xx -DUSE_STM32F469I_DISCO -D
EW_MAX_SURFACE_CACHE_SIZE=0x400000 -DEW_MAX_GLYPH_SURFACE_WIDTH=256 -DEW_MAX_GLY
PH_SURFACE_HEIGHT=256 -DEW_FRAME_BUFFER_COLOR_FORMAT_RGB565 -DEW_USE_OFFSCREEN_B
UFFER=1 -DEW_USE_DOUBLE_BUFFER=0 -DEW_SURFACE_ROTATION=0
-------------------------------------------------
Creating object and binary directories
-------------------------------------------------
Compiling main.c
main.c:38:33: fatal error: stm32469i_discovery.h: No such file or directory
 #include "stm32469i_discovery.h"
                                 ^
compilation terminated.
make: *** [obj/main.o] Error 1

D:\STM32\STM32F469-Discovery\Examples\HelloWorld>make
-------------------------------------------------
Creating HelloWorld
-------------------------------------------------
Compiler Options: -O2 -Wall -mcpu=cortex-m4 -mlittle-endian -mthumb -mthumb-inte
rwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DSTM32F469xx -DUSE_STM32F469I_DISCO -D
EW_MAX_SURFACE_CACHE_SIZE=0x400000 -DEW_MAX_GLYPH_SURFACE_WIDTH=256 -DEW_MAX_GLY
PH_SURFACE_HEIGHT=256 -DEW_FRAME_BUFFER_COLOR_FORMAT_RGB565 -DEW_USE_OFFSCREEN_B
UFFER=1 -DEW_USE_DOUBLE_BUFFER=0 -DEW_SURFACE_ROTATION=0
-------------------------------------------------
Creating object and binary directories
-------------------------------------------------
Compiling main.c
main.c:38:33: fatal error: stm32469i_discovery.h: No such file or directory
 #include "stm32469i_discovery.h"
                                 ^
compilation terminated.
make: *** [obj/main.o] Error 1

1 Answer

0 votes
by

Hi,

important is the first error message:

STM32Cube check failed:
The STM32Cube package was not found on the expected path:
'D:\STM32\STM32F469-Discovery\Build\..\..\STM32Cube_FW_F4'.
Please install the STM32Cube package to this folder [Please refer to ReadMe.txt]

All the provided makefiles expect the exact location of the different packages as written within the getting started document - please compare your installation with the following directory structure:

Ideally, the common installation directory is within your user document folder.

I hope this helps...

Embedded Wizard Website | Privacy Policy | Imprint

...