Greeting,
I was following the instructions to build lv_micropython for a stm32 board.
Somehow I got those errors:
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
mkdir -p build-PYBV10/genhdr
GEN build-PYBV10/genhdr/pins.h
GEN stmconst build-PYBV10/modstm_qstr.h
LVGL-GEN build-PYBV10/lvgl/lv_mpy.c
cp …/…/lib/lv_bindings/driver/png/lodepng/lodepng.cpp build-PYBV10/lodepng/lodepng.c
LODEPNG-GEN build-PYBV10/lodepng/mp_lodepng.c
GEN build-PYBV10/genhdr/mpversion.h
GEN build-PYBV10/genhdr/moduledefs.h
GEN build-PYBV10/genhdr/pybcdc.inf
GEN build-PYBV10/genhdr/pybcdc_inf.h
GEN build-PYBV10/genhdr/pllfreqtable.h
GEN build-PYBV10/genhdr/qstr.i.last
In file included from …/…/py/mpconfig.h:62,
from …/…/py/mpstate.h:31,
from …/…/lib/lv_bindings/lvgl/src/lv_core/lv_group.c:18:
./mpconfigport.h:316: error: “LV_ROOTS” redefined [-Werror]
316 | #define LV_ROOTS
|
In file included from …/…/lib/lv_bindings/lvgl/src/lv_core/lv_group.c:14:
…/…/lib/lv_bindings/lvgl/src/lv_core/…/lv_misc/lv_gc.h:50: note: this is the location of the previous definition
50 | #define LV_ROOTS LV_ITERATE_ROOTS(LV_DEFINE_ROOT)
|
cc1: all warnings being treated as errors
In file included from …/…/py/mpconfig.h:62,
from …/…/py/mpstate.h:31,
from …/…/lib/lv_bindings/lvgl/src/lv_core/lv_obj.c:32:
./mpconfigport.h:316: error: “LV_ROOTS” redefined [-Werror]
316 | #define LV_ROOTS
|
Is there anything I missed?
Thanks