官网下载了esp-idf-tools-setup-offline-2.11.exe,安装在D盘以后,对examples目录下面的项目进行编译,提示找不到Perl应用程序,不知这个Perl如何安装?
以下为编译的过程
d:esp32esp-idfesp32-s2-hmi-devkit-1examplessmart-panel>idf.py build
Execu
ting action: all (aliases: build)
Running cmake in directory d:esp32esp-idfesp32-s2-hmi-devkit-1examplessmart-panelbuild
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32s2 -DCCACHE_ENABLE=1 d:esp32esp-idfesp32-s2-hmi-devkit-1examplessmart-panel"...
-- Found Git: D:/esp32/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.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: D:/esp32/.espressif/tools/xtensa-esp32s2-elf/esp-2021r1-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc.exe
-- Check for working C compiler: D:/esp32/.espressif/tools/xtensa-esp32s2-elf/esp-2021r1-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc.exe
-- Check for working C compiler: D:/esp32/.espressif/tools/xtensa-esp32s2-elf/esp-2021r1-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: D:/esp32/.espressif/tools/xtensa-esp32s2-elf/esp-2021r1-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-g++.exe
-- Check for working CXX compiler: D:/esp32/.espressif/tools/xtensa-esp32s2-elf/esp-2021r1-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s2
-- Project sdkconfig file D:/esp32/esp-idf/esp32-s2-hmi-devkit-1/examples/smart-panel/sdkconfig
Loading defaults file D:/esp32/esp-idf/esp32-s2-hmi-devkit-1/examples/smart-panel/sdkconfig.defaults...
-- Found PythonInterp: D:/esp32/.espressif/python_env/idf4.3_py3.8_env/Scripts/python.exe (found version "3.8.7")
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- App "smart-panel" version: v4.3.1
-- Adding linker script D:/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.ld
-- Adding linker script D:/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.api.ld
-- Adding linker script D:/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.libgcc.ld
-- Adding linker script D:/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.newlib-funcs.ld
-- Adding linker script D:/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.newlib-data.ld
-- Adding linker script D:/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.spiflash.ld
-- Adding linker script D:/esp32/esp-idf/esp32-s2-hmi-devkit-1/examples/smart-panel/build/esp-idf/esp32s2/esp32s2_out.ld
-- Adding linker script D:/esp32/esp-idf/components/esp32s2/ld/esp32s2.project.ld.in
-- Adding linker script D:/esp32/esp-idf/components/esp32s2/ld/esp32s2.peripherals.ld
CMake Error at ../../../tools/cmake/component.cmake:274 (message):
SRC_DIRS entry 'lvgl/src/lv_core' does not exist.
Call Stack (most recent call first):
../../../tools/cmake/component.cmake:434 (__component_add_sources)
../../components/lvgl/CMakeLists.txt:1 (idf_component_register)
-- Configuring incomplete, errors occurred!
See also "D:/esp32/esp-idf/esp32-s2-hmi-devkit-1/examples/smart-panel/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1