cancel
Showing results for 
Search instead for 
Did you mean: 

cubemx stemwin gui library

er3481
Associate III
Posted on April 15, 2016 at 18:38

Hi,

I have created a ltdc project with cubemx and i want to import the stemwin gui library. I have copied the ''Middleware'' directory to my project directory and in IAR options i have added the Middleware directory paths in preprocessor menu. When i do rebuild the project, i get ''no definition'' error for gui_init() function. what may the solution be ?
4 REPLIES 4
Nesrine M_O
Lead II
Posted on April 18, 2016 at 11:05

Hi rapid84,

I recommend you to have a look to the STemWin application under the cube firmware package it may be helpful:

For example under the STM32F4 firmware package:

STM32Cube_FW_F4_V1.11.0\Projects\STM324x9I_EVAL\Applications\STemWin

-Syrine-

er3481
Associate III
Posted on April 18, 2016 at 12:22

Hi,

I have looked at STM32Cube_FW_F4_V1.11.0\Projects\STM324x9I_EVAL\Applications\STemWin and i have set all preprocessor include paths same as STemWin project. But i could not succeed to import the gui library .

Walid FTITI_O
Senior II
Posted on April 18, 2016 at 17:26

Hi rapid84,

 Make sure that you have included the ''GUI.h'' file.

-Hannibal-
er3481
Associate III
Posted on April 18, 2016 at 18:14

Yes i have included Gui.h file. it still does not works. i am getting no definition error for GUI_Init() function.