-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation will report errors if DAVE/2D is enabled #17
Comments
Hi, Please update LVGL to the latest master. I think it was fixed recently. |
Thank you. |
Hi, |
Does it work on your end with the latest master? |
It seems working for me. I've updated the submodule to make sure that we are using the same commit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi ,
I still meet errors if enable DAVE/2D. Part of error message as below:
Could you please confirm this issue?
C:/e2studio/workspace_2407/lv_port_renesas_ek-ra8d1/src/lvgl/src/misc/lv_math.h:169:31: note: in definition of macro 'LV_ABS'
169 | #define LV_ABS(x) ((x) > 0 ? (x) : (-(x)))
| ^
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d.h:58:69: error: unknown type name 'lv_draw_border_dsc_t'
58 | void lv_draw_dave2d_border(lv_draw_dave2d_unit_t * draw_unit, const lv_draw_border_dsc_t * dsc,
| ^~~~~~~~~~~~~~~~~~~~
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d.h:64:68: error: unknown type name 'lv_draw_label_dsc_t'
64 | void lv_draw_dave2d_label(lv_draw_dave2d_unit_t * draw_unit, const lv_draw_label_dsc_t * dsc, const lv_area_t * coords);
| ^~~~~~~~~~~~~~~~~~~
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d.h:70:68: error: unknown type name 'lv_draw_image_dsc_t'
70 | void lv_draw_dave2d_layer(lv_draw_dave2d_unit_t * draw_unit, const lv_draw_image_dsc_t * draw_dsc,
| ^~~~~~~~~~~~~~~~~~~
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d.h:73:71: error: unknown type name 'lv_draw_triangle_dsc_t'
73 | void lv_draw_dave2d_triangle(lv_draw_dave2d_unit_t * draw_unit, const lv_draw_triangle_dsc_t * dsc);
| ^~~~~~~~~~~~~~~~~~~~~~
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d.c:299:65: error: request for member 'grad' in something not a structure or union
299 | && ((dsc->grad.stops[0].color.blue == dsc->grad.stops[dsc->grad.stops_count - 1].color.blue)
| ^~
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d_fill.c:28:25: error: 'u->base_unit' is a pointer; did you mean to use '->'?
28 | x = 0 - u->base_unit.target_layer->buf_area.x1;
| ^
| ->
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d_arc.c:76:77: error: request for member 'start_angle' in something not a structure or union
76 | (LV_ABS(dsc->start_angle - (dsc->end_angle + 360)) > 180))) {
The text was updated successfully, but these errors were encountered: