IDF-4.3.1编译提示Could NOT find Perl,这个Perl如何安装

felix_zhou1618
Posts: 6
Joined: Thu Oct 07, 2021 3:47 am

IDF-4.3.1编译提示Could NOT find Perl,这个Perl如何安装

Postby felix_zhou1618 » Thu Oct 07, 2021 3:53 am

官网下载了esp-idf-tools-setup-offline-2.11.exe,安装在D盘以后,对examples目录下面的项目进行编译,提示找不到Perl应用程序,不知这个Perl如何安装?
以下为编译的过程

d:\esp32\esp-idf\esp32-s2-hmi-devkit-1\examples\smart-panel>idf.py build
Executing action: all (aliases: build)
Running cmake in directory d:\esp32\esp-idf\esp32-s2-hmi-devkit-1\examples\smart-panel\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32s2 -DCCACHE_ENABLE=1 d:\esp32\esp-idf\esp32-s2-hmi-devkit-1\examples\smart-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

felix_zhou1618
Posts: 6
Joined: Thu Oct 07, 2021 3:47 am

Re: IDF-4.3.1编译提示Could NOT find Perl,这个Perl如何安装

Postby felix_zhou1618 » Fri Oct 08, 2021 1:40 am

问题已经解决,不是Perl问题,是缺少lvgl目录下面文件,需要github重新下载对应的目录就可以了。 但现在又出现找不到CONFIG_QCLOUD_NVS_NAMESPACE 这个定义? 搜索没找到

Who is online

Users browsing this forum: No registered users and 94 guests