- [SDK Configuration Editor]
- -- Found Git: D:/Users/MECHREVO/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1")
- [SDK Configuration Editor]
- -- ccache will be used for faster recompilation
- [SDK Configuration Editor]
- -- The C compiler identification is GNU 8.4.0
- [SDK Configuration Editor]
- -- The CXX compiler identification is GNU 8.4.0
- [SDK Configuration Editor]
- -- The ASM compiler identification is GNU
- [SDK Configuration Editor]
- -- Found assembler: D:/Users/MECHREVO/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe
- [SDK Configuration Editor]
- -- Detecting C compiler ABI info
- [SDK Configuration Editor]
- -- Detecting C compiler ABI info - done
- [SDK Configuration Editor]
- -- Check for working C compiler: D:/Users/MECHREVO/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
- [SDK Configuration Editor]
- -- Detecting C compile features
- [SDK Configuration Editor]
- -- Detecting C compile features - done
- [SDK Configuration Editor]
- -- Detecting CXX compiler ABI info
- [SDK Configuration Editor]
- -- Detecting CXX compiler ABI info - done
- [SDK Configuration Editor]
- -- Check for working CXX compiler: D:/Users/MECHREVO/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
- [SDK Configuration Editor]
- -- Detecting CXX compile features
- [SDK Configuration Editor]
- -- Detecting CXX compile features - done
- [SDK Configuration Editor]
- -- Building ESP-IDF components for target esp32s3
- [SDK Configuration Editor]
- Solving dependencies requirements
- .
- [SDK Configuration Editor]
- ---------------------------ERROR--------------------------
- CMake Error at D:/Users/MECHREVO/esp/esp-idf/tools/cmake/build.cmake:452 (message):
- ERROR: Cannot establish a connection to the component registry. Are you
- connected to the internet?
- Call Stack (most recent call first):
- D:/Users/MECHREVO/esp/esp-idf/tools/cmake/project.cmake:384 (idf_build_process)
- CMakeLists.txt:13 (project)
- -----------------------END OF ERROR-----------------------
- [SDK Configuration Editor]
- -- Configuring incomplete, errors occurred!
- See also "D:/Projects/esp-box/examples/factory_demo/build/CMakeFiles/CMakeOutput.log".
- [SDK Configuration Editor]
- Executing action: confserver
- Running cmake in directory d:\projects\esp-box\examples\factory_demo\build
- Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 d:\projects\esp-box\examples\factory_demo"...
- [SDK Configuration Editor]
- ---------------------------ERROR--------------------------
- cmake failed with exit code 1
- -----------------------END OF ERROR-----------------------
- [SDK Configuration Editor]
- ---------------------------ERROR--------------------------
- SDK Configuration editor confserver process exited with code: 2
- -----------------------END OF ERROR-----------------------
factory_demo编译过不去!!!
-
- Posts: 11
- Joined: Mon May 29, 2023 3:35 am
factory_demo编译过不去!!!
硬件box-lite,IDE:vsCode,IDFv4.4.4,hello world已编译!
看字面的意思,编译时还需要联网注册组件???
Re: factory_demo编译过不去!!!
那个,我看了下,你用的是 ESP-IDF 4.4 版本:
有两点:
1:包管理器需要ESP-IDF 5.0版本;
2:目前最新的 master 代码匹配 box-lite,你可以按照readme 中的版本说明,将工程版本切到指定版本;
例如 tag v0.3.0;
有两点:
1:包管理器需要ESP-IDF 5.0版本;
2:目前最新的 master 代码匹配 box-lite,你可以按照readme 中的版本说明,将工程版本切到指定版本;
例如 tag v0.3.0;
-
- Posts: 11
- Joined: Mon May 29, 2023 3:35 am
Re: factory_demo编译过不去!!!
基本上找到原因,网络不行,最近封网升级,github的https链接经常被reset或超时,编译脚本没有重试机制。3个解决方方案:
1,脚本健壮化:如git命令失败,自动重试,并延长超时时间
2,构造gitee版编译脚本
3,提供无需联网的本地编译包
1,脚本健壮化:如git命令失败,自动重试,并延长超时时间
2,构造gitee版编译脚本
3,提供无需联网的本地编译包
Who is online
Users browsing this forum: No registered users and 9 guests