程式語言 - LVGL - 解決Possible failure to include lv_conf.h問題



問題如下:

In file included from lvgl/src/widgets/line/../../core/lv_obj.h:16,
                 from lvgl/src/widgets/line/../../core/lv_obj_private.h:17,
                 from lvgl/src/widgets/line/lv_line_private.h:17,
                 from lvgl/src/widgets/line/lv_line.c:9:
lvgl/src/widgets/line/../../core/../lv_conf_internal.h:65:17: note: ‘#pragma message: Possible failure to include lv_conf.h, please read the comment in this file if you get errors’
   65 |         #pragma message("Possible failure to include lv_conf.h, please read the comment in this file if you get errors")

解法如下:

-DLV_CONF_SKIP