uweng14 Posted July 24, 2013 Report Share Posted July 24, 2013 Hello,I've upgraded to the latest ugfx version, and I am seeing some compilation errors.1) there is an undefined variable "ld" within src\gwin\button.c in the the following codegdispFillArea(gw->g.x, gw->g.y, ld, ld, gw->pstyle->background);2) there is no definition for "gfxQueueASyncInit", which seems like there is some missing header files for gwm.c under src/gwinAny help would be appreciated to get the new ugfx runningthanks,David Link to comment Share on other sites More sharing options...
inmarket Posted July 24, 2013 Report Share Posted July 24, 2013 I have just updated the button code to fix the compile error there. It was being caused by extra custom button drawing routines that are not always compiled in.With regard to "gfxQueueASyncInit" - it is defined in include/gqueue/gqueue.hIt is turned on by having #define GFX_USE_GQUEUE TRUE #define GQUEUE_NEED_ASYNC TRUEin your gfxconf.hThis should have automatically been set anyway when the GWIN Window Manager is compiled (include/gfx_rules.h). If that is not working for you just add the above lines to your gfxconf.h and it should make sure that that function is defined. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 24, 2013 Report Share Posted July 24, 2013 Thanks for finding and fixing that error.I took a look and I can verify that the GQUEUE_NEED_ASYNC macro gets set to TRUE as it should.~ Tectu Link to comment Share on other sites More sharing options...
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