factory_demo无法编译
Posted: Thu Jun 16, 2022 3:23 pm
编译问题如下:
Executing action: all (aliases: build)
Running cmake in directory d:\espressif\frameworks\esp-idf-v4.4.1\esp-box-master\examples\factory_demo\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=1 d:\espressif\frameworks\esp-idf-v4.4.1\esp-box-master\examples\factory_demo"...
-- Found Git: D:/Espressif/tools/idf-git/2.34.2/cmd/git.exe (found version "2.34.1.windows.1")
-- Not find RMAKER_PATH, default is D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box-master/examples/factory_demo/../../components/esp-rainmaker
-- Component directory D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box-master/components/esp-rainmaker does not contain a CMakeLists.txt file. No component will -- Component directory D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box-master/components/esp-rainmaker/components/esp-insights does not contain a CMakeLists.txt file. No component will be added
-- Component directory D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box-master/components/esp-rainmaker/components/rmaker_common does not contain a CMakeLists.txt file. No component will be added
-- 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
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
CMake Error at D:/Espressif/frameworks/esp-idf-v4.4.1/tools/cmake/build.cmake:200 (message):
Failed to resolve component 'rmaker_common'.
Call Stack (most recent call first):
D:/Espressif/frameworks/esp-idf-v4.4.1/tools/cmake/build.cmake:226 (__build_resolve_and_add_req)
D:/Espressif/frameworks/esp-idf-v4.4.1/tools/cmake/build.cmake:512 (__build_expand_requirements)
D:/Espressif/frameworks/esp-idf-v4.4.1/tools/cmake/project.cmake:378 (idf_build_process)
CMakeLists.txt:22 (project)
-- Configuring incomplete, errors occurred!
cmake failed with exit code 1
经检查,代码是最新的版本,idf 4.4.1,没看明白configuring incomplete 是什么意思,是哪里配置不完全?
Executing action: all (aliases: build)
Running cmake in directory d:\espressif\frameworks\esp-idf-v4.4.1\esp-box-master\examples\factory_demo\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=1 d:\espressif\frameworks\esp-idf-v4.4.1\esp-box-master\examples\factory_demo"...
-- Found Git: D:/Espressif/tools/idf-git/2.34.2/cmd/git.exe (found version "2.34.1.windows.1")
-- Not find RMAKER_PATH, default is D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box-master/examples/factory_demo/../../components/esp-rainmaker
-- Component directory D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box-master/components/esp-rainmaker does not contain a CMakeLists.txt file. No component will -- Component directory D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box-master/components/esp-rainmaker/components/esp-insights does not contain a CMakeLists.txt file. No component will be added
-- Component directory D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box-master/components/esp-rainmaker/components/rmaker_common does not contain a CMakeLists.txt file. No component will be added
-- 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
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
CMake Error at D:/Espressif/frameworks/esp-idf-v4.4.1/tools/cmake/build.cmake:200 (message):
Failed to resolve component 'rmaker_common'.
Call Stack (most recent call first):
D:/Espressif/frameworks/esp-idf-v4.4.1/tools/cmake/build.cmake:226 (__build_resolve_and_add_req)
D:/Espressif/frameworks/esp-idf-v4.4.1/tools/cmake/build.cmake:512 (__build_expand_requirements)
D:/Espressif/frameworks/esp-idf-v4.4.1/tools/cmake/project.cmake:378 (idf_build_process)
CMakeLists.txt:22 (project)
-- Configuring incomplete, errors occurred!
cmake failed with exit code 1
经检查,代码是最新的版本,idf 4.4.1,没看明白configuring incomplete 是什么意思,是哪里配置不完全?