Jump to content

V1.8 compilation problems


Recommended Posts

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 code

gdispFillArea(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/gwin

Any help would be appreciated to get the new ugfx running

thanks,

David

Link to comment
Share on other sites

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.h

It is turned on by having

			#define GFX_USE_GQUEUE		TRUE
#define GQUEUE_NEED_ASYNC TRUE

in your gfxconf.h

This 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

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...