You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IDF: 5.0.1
OS: Windows 11
VS Code: 1.77.3
Espressif IDF VS Code Extension: v.1.6.1
Create sample project based on IDF C++ template (like "blink"), add "components" directory, anc checkout M5GFX and M5Unified modules, then try to use M5:
Compiler warns about deprecated API, but along those error is reported:
error: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Werror=format=]
Adding to CMakeLists.txt as a last line in M5GFX solves problem (although it may require better solution) target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-format)
IDF: 5.0.1
OS: Windows 11
VS Code: 1.77.3
Espressif IDF VS Code Extension: v.1.6.1
Create sample project based on IDF C++ template (like "blink"), add "components" directory, anc checkout M5GFX and M5Unified modules, then try to use M5:
Compiler warns about deprecated API, but along those error is reported:
error: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Werror=format=]
Adding to CMakeLists.txt as a last line in M5GFX solves problem (although it may require better solution)
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-format)
Application @ https://github.com/andrzejroszkowski/m5gfx-sample
build-log.txt
The text was updated successfully, but these errors were encountered: