yuan@ubuntu:~/esp/esp-adf/examples/get-started/play_mp3_control$ idf.py build
Executing action: all (aliases: build)
Running cmake in directory /home/yuan/esp/esp-adf/examples/get-started/play_mp3_control/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /home/yuan/esp/esp-adf/examples/get-started/play_mp3_control"...
-- IDF_TARGET not set, using default target: esp32
-- Found Git: /usr/bin/git (found version "2.25.1")
-- 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: /home/yuan/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/yuan/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/yuan/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- 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: /home/yuan/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/yuan/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- 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 esp32
CMake Error at /home/yuan/esp/esp-idf/tools/cmake/build.cmake:200 (message):
Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
/home/yuan/esp/esp-idf/tools/cmake/build.cmake:234 (__build_resolve_and_add_req)
/home/yuan/esp/esp-idf/tools/cmake/build.cmake:515 (__build_expand_requirements)
/home/yuan/esp/esp-idf/tools/cmake/project.cmake:422 (idf_build_process)
CMakeLists.txt:10 (project)
-- Configuring incomplete, errors occurred!
See also "/home/yuan/esp/esp-adf/examples/get-started/play_mp3_control/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
求助呢 编译adf框架出现错误
Re: 求助呢 编译adf框架出现错误
检查下 ADF 的子模块是不是下载完全了, git submodule update --init --recursive
Re: 求助呢 编译adf框架出现错误
同问,我也遇到了,命令也执行了,没效果,还是报错
Re: 求助呢 编译adf框架出现错误
找到原因了 idf的版本太高了 降低版本才能对应adf框架
Who is online
Users browsing this forum: No registered users and 6 guests