korvo_du1906实例无法编译成功 Unknown CMake command "add_prebuilt_library"

fleche
Posts: 1
Joined: Thu Jan 14, 2021 7:54 am

korvo_du1906实例无法编译成功 Unknown CMake command "add_prebuilt_library"

Postby fleche » Thu Jan 14, 2021 7:56 am

我之前做过很多esp32的实例,都没有问题;这次买了korvo_du1906的板,怎么都完不成

1. 我是完全下载了的,也是用的adf里面的idf版本。
git clone --recursive https://github.com/espressif/esp-adf.git

2. 执行了idf里的Install,和export


- E:/iot/esp-adf/components/esp-adf-libs, Chip is esp32
-- Current board name is CONFIG_ESP32_KORVO_DU1906_BOARD
CMake Error at components/bdsc_engine/CMakeLists.txt:9 (add_prebuilt_library):
Unknown CMake command "add_prebuilt_library".

hengyongchao
Posts: 24
Joined: Fri Dec 15, 2017 2:45 am

Re: korvo_du1906实例无法编译成功 Unknown CMake command "add_prebuilt_library"

Postby hengyongchao » Mon Jan 18, 2021 6:22 am

你好, 请更新到最新的 adf 版本, readme 文档说明的编译是需要 [IDF]: audio/stack_on_psram_v3.3 这个分支。

你按照文档说明操作一遍试试? https://github.com/espressif/esp-adf/bl ... /README.md

sagesiot
Posts: 9
Joined: Thu Feb 18, 2021 2:35 pm

Re: korvo_du1906实例无法编译成功 Unknown CMake command "add_prebuilt_library"

Postby sagesiot » Sat Feb 20, 2021 10:53 am

楼主解决了么?我同样出现类似的问题:
Loading defaults file /home/gfzou/esp/esp-adf/examples/korvo_du1906/sdkconfig.defaults...
-- IDF_VER: v3.3.1-276-g606dd2b62
-- Project version: v1.3.0
-- Found PythonInterp: /home/gfzou/.espressif/python_env/idf3.3_py3.8_env/bin/python (found version "3.8.5")
-- Found Perl: /bin/perl (found version "5.30.0")
-- Adding linker script /home/gfzou/esp/esp-adf/examples/korvo_du1906/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.extram.bss.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld
-- /home/gfzou/esp/esp-adf/components/esp-adf-libs, Chip is esp32
-- Current board name is CONFIG_ESP32_KORVO_DU1906_BOARD
CMake Error at components/bdsc_engine/CMakeLists.txt:9 (add_prebuilt_library):
Unknown CMake command "add_prebuilt_library".


-- Configuring incomplete, errors occurred!
See also "/home/gfzou/esp/esp-adf/examples/korvo_du1906/build/CMakeFiles/CMakeOutput.log".
See also "/home/gfzou/esp/esp-adf/examples/korvo_du1906/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1

Who is online

Users browsing this forum: No registered users and 2 guests