W00ng / ESP32-S3-RGB-Panel

52 stars 18 forks source link

Unable to build lvgl_demo example #1

Closed itavero closed 2 years ago

itavero commented 2 years ago

I'm on Windows 10, and I've just installed the latest master branch of the ESP-IDF on my system (commit hash 01d014c42def8d0c19e1ce55c07de6761e092ffa). From within an ESP-IDF 5.0 PowerShell terminal, I've cloned the repository and tried to build it using the following commands:

git clone --recursive git@github.com:W00ng/ESP32-S3-RGB-Panel.git wywy-s3-rgb
cd .\wywy-s3-rgb\
git submodule update --init --recursive
cd .\examples\lvgl_demo\
idf.py build

Unfortunately this results in the following error:

Executing action: all (aliases: build)
Running cmake in directory c:\gitrepo\wywy-s3-rgb\examples\lvgl_demo\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=1 c:\gitrepo\wywy-s3-rgb\examples\lvgl_demo"...
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.36.1.windows.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/esp/tools-master/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/esp/tools-master/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/esp/tools-master/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file C:/gitrepo/wywy-s3-rgb/examples/lvgl_demo/sdkconfig
C:/gitrepo/wywy-s3-rgb/examples/lvgl_demo/sdkconfig:525 CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240 was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240
C:/gitrepo/wywy-s3-rgb/examples/lvgl_demo/sdkconfig:526 CONFIG_ESP32S3_DEFAULT_CPU_FREQ_MHZ was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
C:/gitrepo/wywy-s3-rgb/examples/lvgl_demo/sdkconfig:551 CONFIG_ESP32S3_SPIRAM_SUPPORT was replaced with CONFIG_SPIRAM
C:/gitrepo/wywy-s3-rgb/examples/lvgl_demo/sdkconfig:590 CONFIG_ESP32S3_TIME_SYSCALL_USE_RTC_SYSTIMER was replaced with CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC_HRT
C:/gitrepo/wywy-s3-rgb/examples/lvgl_demo/sdkconfig:594 CONFIG_ESP32S3_RTC_CLK_SRC_INT_RC was replaced with CONFIG_RTC_CLK_SRC_INT_RC
C:/gitrepo/wywy-s3-rgb/examples/lvgl_demo/sdkconfig:598 CONFIG_ESP32S3_RTC_CLK_CAL_CYCLES was replaced with CONFIG_RTC_CLK_CAL_CYCLES
C:/gitrepo/wywy-s3-rgb/examples/lvgl_demo/sdkconfig:599 CONFIG_ESP32S3_DEEP_SLEEP_WAKEUP_DELAY was replaced with CONFIG_ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Found Python3: C:/esp/tools-master/python_env/idf5.0_py3.8_env/Scripts/python.exe (found version "3.8.7") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
Hardlink created for C:\gitrepo\wywy-s3-rgb\examples\lvgl_demo\build\esp-idf\mbedtls\mbedtls\library\error.c <<===>> C:\Espressif\frameworks\esp-idf-master\components\mbedtls\mbedtls\library\error.c
Hardlink created for C:\gitrepo\wywy-s3-rgb\examples\lvgl_demo\build\esp-idf\mbedtls\mbedtls\library\version_features.c <<===>> C:\Espressif\frameworks\esp-idf-master\components\mbedtls\mbedtls\library\version_features.c
Hardlink created for C:\gitrepo\wywy-s3-rgb\examples\lvgl_demo\build\esp-idf\mbedtls\mbedtls\library\ssl_debug_helpers_generated.c <<===>> C:\Espressif\frameworks\esp-idf-master\components\mbedtls\mbedtls\library\ssl_debug_helpers_generated.c
Hardlink created for C:\gitrepo\wywy-s3-rgb\examples\lvgl_demo\build\esp-idf\mbedtls\mbedtls\library\ssl_debug_helpers_generated.h <<===>> C:\Espressif\frameworks\esp-idf-master\components\mbedtls\mbedtls\library\ssl_debug_helpers_generated.h
-- App "lvgl_demo" version: 49e2d8b
-- Adding linker script C:/gitrepo/wywy-s3-rgb/examples/lvgl_demo/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-master/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script C:/Espressif/frameworks/esp-idf-master/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-master/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-master/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-master/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-master/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-master/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib-time.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-master/components/soc/esp32s3/ld/esp32s3.peripherals.ld
CMake Error at C:/Espressif/frameworks/esp-idf-master/tools/cmake/component.cmake:312 (message):
  Include directory 'C:/gitrepo/wywy-s3-rgb/examples/lvgl_demo/main/include'
  is not a directory.
Call Stack (most recent call first):
  C:/Espressif/frameworks/esp-idf-master/tools/cmake/component.cmake:486 (__component_add_include_dirs)
  main/CMakeLists.txt:1 (idf_component_register)

-- Configuring incomplete, errors occurred!

How to resolve this? It seems that this repository is not working at the moment.

itavero commented 2 years ago

Probably because the include folder mentioned in the error was empty, it isn't included in your git repository. Adding the include folder seems to resolve the issue.

itavero commented 2 years ago

Unfortunately it did not resolve the issue completely: the compilation continued, but I get different error messages now.

[1027/1090] Building C object esp-idf/lvgl/CMakeFiles/__idf_lvgl.dir/porting/lv_port_disp.c.obj
FAILED: esp-idf/lvgl/CMakeFiles/__idf_lvgl.dir/porting/lv_port_disp.c.obj
ccache C:\esp\tools-master\tools\xtensa-esp32s3-elf\esp-2021r2-patch3-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe  -IC:/gitrepo/wywy-s3-rgb/examples/lvgl_demo/build/config -IC:/gitrepo/wywy-s3-rgb/components/lvgl -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/core -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/draw -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/font -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/gpu -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/hal -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/misc -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/widgets -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/layouts -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/layouts/flex -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/layouts/grid -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/themes -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/themes/basic -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/themes/default -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/themes/mono -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/animimg -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/calendar -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/chart -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/colorwheel -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/imgbtn -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/keyboard -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/led -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/list -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/menu -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/meter -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/msgbox -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/span -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/spinbox -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/spinner -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/tabview -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/tileview -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/extra/widgets/win -IC:/gitrepo/wywy-s3-rgb/components/lvgl/src/draw/sw -IC:/gitrepo/wywy-s3-rgb/components/lvgl/porting -IC:/gitrepo/wywy-s3-rgb/components/lvgl/demos -IC:/gitrepo/wywy-s3-rgb/components/lvgl/demos/benchmark -IC:/gitrepo/wywy-s3-rgb/components/lvgl/demos/benchmark/assets -IC:/gitrepo/wywy-s3-rgb/components/lvgl/demos/keypad_encoder -IC:/gitrepo/wywy-s3-rgb/components/lvgl/demos/music -IC:/gitrepo/wywy-s3-rgb/components/lvgl/demos/music/assets -IC:/gitrepo/wywy-s3-rgb/components/lvgl/demos/stress -IC:/gitrepo/wywy-s3-rgb/components/lvgl/demos/stress/assets -IC:/gitrepo/wywy-s3-rgb/components/lvgl/demos/widgets -IC:/gitrepo/wywy-s3-rgb/components/lvgl/demos/widgets/assets -IC:/Espressif/frameworks/esp-idf-master/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-master/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-master/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-master/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-master/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-master/components/esp_hw_support/include/soc/esp32s3 -IC:/Espressif/frameworks/esp-idf-master/components/esp_hw_support/port/esp32s3/. -IC:/Espressif/frameworks/esp-idf-master/components/esp_hw_support/port/esp32s3/private_include -IC:/Espressif/frameworks/esp-idf-master/components/heap/include -IC:/Espressif/frameworks/esp-idf-master/components/log/include -IC:/Espressif/frameworks/esp-idf-master/components/soc/include -IC:/Espressif/frameworks/esp-idf-master/components/soc/esp32s3/. -IC:/Espressif/frameworks/esp-idf-master/components/soc/esp32s3/include -IC:/Espressif/frameworks/esp-idf-master/components/hal/esp32s3/include -IC:/Espressif/frameworks/esp-idf-master/components/hal/include -IC:/Espressif/frameworks/esp-idf-master/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_rom/include/esp32s3 -IC:/Espressif/frameworks/esp-idf-master/components/esp_rom/esp32s3 -IC:/Espressif/frameworks/esp-idf-master/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-master/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-master/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-master/components/xtensa/esp32s3/include -IC:/Espressif/frameworks/esp-idf-master/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-master/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-master/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-master/components/lwip/port/esp32/include -IC:/Espressif/frameworks/esp-idf-master/components/lwip/port/esp32/include/arch -IC:/Espressif/frameworks/esp-idf-master/components/vfs/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_wifi/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_event/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_netif/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_eth/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_phy/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_phy/esp32s3/include -IC:/gitrepo/wywy-s3-rgb/components/bsp/include -IC:/Espressif/frameworks/esp-idf-master/components/driver/include -IC:/Espressif/frameworks/esp-idf-master/components/driver/deprecated -IC:/Espressif/frameworks/esp-idf-master/components/driver/esp32s3/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_pm/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_ringbuf/include -IC:/gitrepo/wywy-s3-rgb/components/i2c_bus/include -IC:/gitrepo/wywy-s3-rgb/components/i2c_devices/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_lcd/include -IC:/Espressif/frameworks/esp-idf-master/components/esp_lcd/interface -IC:/gitrepo/wywy-s3-rgb/components/lcd/include -IC:/Espressif/frameworks/esp-idf-master/components/fatfs/diskio -IC:/Espressif/frameworks/esp-idf-master/components/fatfs/vfs -IC:/Espressif/frameworks/esp-idf-master/components/fatfs/src -IC:/Espressif/frameworks/esp-idf-master/components/wear_levelling/include -IC:/Espressif/frameworks/esp-idf-master/components/spi_flash/include -IC:/Espressif/frameworks/esp-idf-master/components/sdmmc/include -IC:/Espressif/frameworks/esp-idf-master/components/spiffs/include -mlongcalls  -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -gdwarf-4 -ggdb -Og -fmacro-prefix-map=C:/gitrepo/wywy-s3-rgb/examples/lvgl_demo=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-master=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0-dev-3290-g01d014c42d\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/lvgl/CMakeFiles/__idf_lvgl.dir/porting/lv_port_disp.c.obj -MF esp-idf\lvgl\CMakeFiles\__idf_lvgl.dir\porting\lv_port_disp.c.obj.d -o esp-idf/lvgl/CMakeFiles/__idf_lvgl.dir/porting/lv_port_disp.c.obj -c C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c: In function 'lv_port_tick_init':
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:186:11: error: unknown type name 'esp_timer_create_args_t'     const esp_timer_create_args_t periodic_timer_args = {
           ^~~~~~~~~~~~~~~~~~~~~~~
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:187:13: error: field name not in record or union initializer
             .callback = lv_tick_inc_cb,
             ^
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:187:13: note: (near initialization for 'periodic_timer_args')
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:187:25: warning: initialization of 'int' from 'void (*)(void *)' makes integer from pointer without a cast [-Wint-conversion]
             .callback = lv_tick_inc_cb,
                         ^~~~~~~~~~~~~~
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:187:25: note: (near initialization for 'periodic_timer_args')
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:188:13: error: field name not in record or union initializer
             .arg = &tick_inc_period_ms,
             ^
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:188:13: note: (near initialization for 'periodic_timer_args')
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:188:20: warning: excess elements in scalar initializer
             .arg = &tick_inc_period_ms,
                    ^
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:188:20: note: (near initialization for 'periodic_timer_args')
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:189:13: error: field name not in record or union initializer
             .dispatch_method = ESP_TIMER_TASK,
             ^
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:189:13: note: (near initialization for 'periodic_timer_args')
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:189:32: error: 'ESP_TIMER_TASK' undeclared (first use in this function); did you mean 'ESP_RST_SW'?
             .dispatch_method = ESP_TIMER_TASK,
                                ^~~~~~~~~~~~~~
                                ESP_RST_SW
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:189:32: note: each undeclared identifier is reported only once for each function it appears in
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:189:32: warning: excess elements in scalar initializer
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:189:32: note: (near initialization for 'periodic_timer_args')
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:190:13: error: field name not in record or union initializer
             .name = "",     /* name is optional, but may help identify the timer when debugging */
             ^
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:190:13: note: (near initialization for 'periodic_timer_args')
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:190:21: warning: excess elements in scalar initializer
             .name = "",     /* name is optional, but may help identify the timer when debugging */
                     ^~
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:190:21: note: (near initialization for 'periodic_timer_args')
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:191:13: error: field name not in record or union initializer
             .skip_unhandled_events = true,
             ^
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:191:13: note: (near initialization for 'periodic_timer_args')
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:191:38: warning: excess elements in scalar initializer
             .skip_unhandled_events = true,
                                      ^~~~
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:191:38: note: (near initialization for 'periodic_timer_args')
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:194:5: error: unknown type name 'esp_timer_handle_t'; did you mean 'gpio_isr_handle_t'?
     esp_timer_handle_t periodic_timer;
     ^~~~~~~~~~~~~~~~~~
     gpio_isr_handle_t
In file included from C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.h:21,
                 from C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:12:
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:195:21: error: implicit declaration of function 'esp_timer_create'; did you mean 'lv_timer_create'? [-Werror=implicit-function-declaration]
     ESP_ERROR_CHECK(esp_timer_create(&periodic_timer_args, &periodic_timer));
                     ^~~~~~~~~~~~~~~~
C:/Espressif/frameworks/esp-idf-master/components/esp_common/include/esp_err.h:116:30: note: in definition of macro 'ESP_ERROR_CHECK'
         esp_err_t err_rc_ = (x);                                        \
                              ^
C:/gitrepo/wywy-s3-rgb/components/lvgl/porting/lv_port_disp.c:197:21: error: implicit declaration of function 'esp_timer_start_periodic'; did you mean 'lv_timer_set_period'? [-Werror=implicit-function-declaration]
     ESP_ERROR_CHECK(esp_timer_start_periodic(periodic_timer, tick_inc_period_ms * 1000));
                     ^~~~~~~~~~~~~~~~~~~~~~~~
C:/Espressif/frameworks/esp-idf-master/components/esp_common/include/esp_err.h:116:30: note: in definition of macro 'ESP_ERROR_CHECK'
         esp_err_t err_rc_ = (x);                                        \
                              ^
cc1.exe: some warnings being treated as errors
W00ng commented 2 years ago

This error may be because of your esp-idf version is different from mine. You can try to modify these two places: image image

itavero commented 2 years ago

This error may be because of your esp-idf version is different from mine.

The README only mentions the use the latest master branch, which I did as mentioned in the first post above. Which specific version did you use?

W00ng commented 2 years ago

This error may be because of your esp-idf version is different from mine.

The README only mentions the use the latest master branch, which I did as mentioned in the first post above. Which specific version did you use?

I will update my esp-idf to the latest version later. You can try this method to solve this problem

itavero commented 2 years ago

The suggested changes did help to resolve the compile time errors. Thanks.

dmsherazi commented 1 year ago

@itavero @W00ng HI , I am facing the same issue . image Where from can I get the includes directory?