zhuantou215 Posted January 14, 2018 Report Posted January 14, 2018 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?
Joel Bodenmann Posted January 14, 2018 Report Posted January 14, 2018 It seems like you're not including the GWIN module when compiling. Please make sure that you're using the gfxconf.h supplied with the demo when compiling a demo from /demos.
zhuantou215 Posted January 15, 2018 Author Report Posted January 15, 2018 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.
Joel Bodenmann Posted January 15, 2018 Report Posted January 15, 2018 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now