sukesh-ak / ESP32-TUX

ESP32-TUX - ESP32 / ESP32-XX Touch UX Template using LVGL to get you started
https://tux.sukesh.me
MIT License
236 stars 55 forks source link

Build fails #33

Closed veljko closed 1 year ago

veljko commented 1 year ago

Hi and thanks for this great project! This is related to #25 which has been closed, but as 5.1 is release and I get the same error with 5.0.3 when running idf.py build 😕

C:/code/iot/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp: In constructor 'lgfx::v1::pixelcopy_t::pixelcopy_t(const void, lgfx::v1::color_depth_t, lgfx::v1::color_depth_t, bool, const void, uint32_t)': C:/code/iot/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp:39:25: error: member 'lgfx::v1::pixelcopy_t::' is used uninitialized [-Werror=uninitialized] 39 | , src_mask ( (1 << src_bits) - 1 ) | ^~~~ C:/code/iot/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp:40:25: error: member 'lgfx::v1::pixelcopy_t::' is used uninitialized [-Werror=uninitialized] 40 | , dst_mask ( (1 << dst_bits) - 1 )

Thanks!

sukesh-ak commented 1 year ago

Looks like an issue with LovyanGFX. Please update that submodule in the project and see if it fixed your problem.

I am a bit busy with other projects so cannot promise when I can test it myself.

veljko commented 1 year ago

Thanks Sukesh. After bumping the LovyanGFX and lvgl to the latest release, everything is fine.