Jump to content

error on compiling (GHandle)


spectre

Recommended Posts

Dear Friends,

I am using ugfx primitives and it works. Now I want to start to use some widgets.
As newbie, I want to use a simple Label widget: so I am following the API guide: http://api.ugfx.io/group___label.html
As specified,I've enabled the following defines in the gfxconf.h file:

GFX_USE_GDISP TRUE
GFX_USE_GWIN TRUE
GDISP_NEED_TEXT TRUE
GWIN_NEED_LABEL TRUE
A font(already tested)


Then in my main.c I have to include,as specified, the following:
#include "gdisp.h"
#include "gfx.h"

Up to this step the compiler gives me NO errors.

Now I am ready to start to write the code to visualize my label,
so I write in my main.c globals:

static GHandle ghLabel1;

At this point the compiler tell me the following error: identifier "GHandle" is undefined

What I forgot to do? Am I missing to include something?

thanks in advance to everybody.
Regards,
Spectre

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...