Executing action: all (aliases: build)
Running cmake in directory /home/yuan/C/esp/esp-adf/examples/player/pipeline_living_stream/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /home/yuan/C/esp/esp-adf/examples/player/pipeline_living_stream"...
-- 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:8 (project)
-- Configuring incomplete, errors occurred!
See also "/home/yuan/C/esp/esp-adf/examples/player/pipeline_living_stream/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
编译两天了一直遇到这个问题求助!
-
- Posts: 184
- Joined: Fri Dec 15, 2017 2:45 am
Re: 编译两天了一直遇到这个问题求助!
yuanjie wrote: ↑Thu Dec 23, 2021 7:14 amExecuting action: all (aliases: build)
Running cmake in directory /home/yuan/C/esp/esp-adf/examples/player/pipeline_living_stream/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /home/yuan/C/esp/esp-adf/examples/player/pipeline_living_stream"...
-- 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:8 (project)
-- Configuring incomplete, errors occurred!
See also "/home/yuan/C/esp/esp-adf/examples/player/pipeline_living_stream/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
1. 指定 $IDF_PATH, 在 IDF 目录下 使用 "./install.sh" " . ./export.sh"
2. 指定 $ADF_PATH, 把例如在 adf 的文件夹下, “export ADF_PATH=$PWD”
3. 上述的仓库,都要保证拉取 submodule 完整
4. 然后使用 idf.py set-target , menuconfig, build 编译。
Who is online
Users browsing this forum: No registered users and 17 guests