编译问题如下:
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 是什么意思,是哪里配置不完全?
factory_demo无法编译
Re: factory_demo无法编译
看起来是没有下载子仓库,先执行 git submodule update --init --recursive 再试试
Re: factory_demo无法编译
请问有没有码云的仓库,或者其他的仓库,git下依赖包总是失败,然后都是手动一个一个下的,不知道遗漏了哪个模块
-
- Posts: 96
- Joined: Wed Nov 10, 2021 9:28 am
-
- Posts: 96
- Joined: Wed Nov 10, 2021 9:28 am
Re: factory_demo无法编译
Gitee esp-box: https://gitee.com/EspressifSystems/esp-box
How to update submodule: https://gitee.com/EspressifSystems/esp- ... ols/issues
Re: factory_demo无法编译
老问题又出现了,我换了个电脑,之前的环境没有了,当我重新去git上下新版的esp-box时,出现了子库不全的老问题,请问现在的gitee上子库全了吗?我试了下好像还不全。。。不知道是不是这样
能否提供一个更好的解决方案来让我快速搭建环境呢,我已经翻墙了但依然不行,重新弄一遍环境好痛苦
能否提供一个更好的解决方案来让我快速搭建环境呢,我已经翻墙了但依然不行,重新弄一遍环境好痛苦
Re: factory_demo无法编译
ESP官方有一个JIHU镜像,可以参考下面链接,目前依赖子库下载正常
https://gitee.com/EspressifSystems/esp- ... -mirror.md
https://gitee.com/EspressifSystems/esp- ... -mirror.md
Who is online
Users browsing this forum: No registered users and 4 guests