Jump to content
zhuantou215

Gwin label

Recommended Posts

I'm executing /uGFX/demos/modules/gwin/label. There is always a false error:

unknown type name 'GListene R'GListener GL;

error: unknown type name 'GHandle'GHandle ghLabel1, ghLabel2;

How should a mistake like this be solved?

Share this post


Link to post
Share on other sites
 
 

I haven't changed anything on ugfX. I don't have a problem when I run /uGFX/demos/modules/gdisp/basics.

But as soon as I turned to /uGFX/demos/modules/gwin/label, this was wrong. I checked and didn't miss gfxconf.h.

Share this post


Link to post
Share on other sites

Like any other module, sub-system and feature you can enable the GWIN module in the configuration file by setting GFX_USE_GWIN to TRUE.

Just make sure that you use the gfxconf.h file that is part of the demo and everything will be fine. Those demos are supposed to run out-of-the-box.

Share this post


Link to post
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

×