jmattsson / nodemcu-prebuilt-toolchains Goto Github PK
View Code? Open in Web Editor NEWPre-built ESP8266 + ESP32 toolchains for NodeMCU development and CI use
Pre-built ESP8266 + ESP32 toolchains for NodeMCU development and CI use
It about nodemcu-prebuilt-toolchains
[variant] Loaded new set of variants
[kit] Successfully loaded 10 kits from C:\Users\li1gu\AppData\Local\CMakeTools\cmake-tools-kits.json
[proc] Executing command: C:\Users\li1gu\.espressif\tools\riscv32-esp-elf\esp-2021r1-8.4.0\riscv32-esp-elf\bin\riscv32-esp-elf-gcc.exe -v
[main] Configuring folder: sample_project
[proc] Executing command: C:\Users\li1gu\.espressif\tools\cmake\3.20.3\bin\cmake.EXE --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=C:\Users\li1gu\.espressif\tools\riscv32-esp-elf\esp-2021r1-8.4.0\riscv32-esp-elf\bin\riscv32-esp-elf-gcc.exe -DCMAKE_CXX_COMPILER:FILEPATH=C:\Users\li1gu\.espressif\tools\riscv32-esp-elf\esp-2021r1-8.4.0\riscv32-esp-elf\bin\riscv32-esp-elf-g++.exe -Hc:/Users/li1gu/esp/sample_project -Bc:/Users/li1gu/esp/sample_project/build -G Ninja
[cmake] Not searching for unused variables given on the command line.
[cmake] -- Found Git: C:/Users/li1gu/.espressif/tools/idf-git/2.34.2/cmd/git.exe (found version "2.34.1.windows.1")
[cmake] -- IDF_TARGET not set, using default target: esp32
[cmake] -- The C compiler identification is unknown
[cmake] -- The CXX compiler identification is unknown
[cmake] -- The ASM compiler identification is unknown
[cmake] -- Found assembler: C:/ProgramData/nodemcu-prebuilt-toolchains-master/esp32/bin/xtensa-esp32-elf-gcc
[cmake] -- Detecting C compiler ABI info
[cmake] -- Detecting C compiler ABI info - failed
[cmake] -- Check for working C compiler: C:/ProgramData/nodemcu-prebuilt-toolchains-master/esp32/bin/xtensa-esp32-elf-gcc
[cmake] -- Check for working C compiler: C:/ProgramData/nodemcu-prebuilt-toolchains-master/esp32/bin/xtensa-esp32-elf-gcc - broken
[cmake] CMake Error at C:/Users/li1gu/.espressif/tools/cmake/3.20.3/share/cmake-3.20/Modules/CMakeTestCCompiler.cmake:66 (message):
[cmake] The C compiler
[cmake]
[cmake] "C:/ProgramData/nodemcu-prebuilt-toolchains-master/esp32/bin/xtensa-esp32-elf-gcc"
[cmake]
[cmake] is not able to compile a simple test program.
[cmake]
[cmake] It fails with the following output:
[cmake]
[cmake] Change Dir: C:/Users/li1gu/esp/sample_project/build/CMakeFiles/CMakeTmp
[cmake]
[cmake] Run Build Command(s):C:/Users/li1gu/.espressif/tools/ninja/1.10.2/ninja.exe cmTC_bef14 &&
[cmake] CreateProcess failed. Command attempted:
[cmake] "C:\ProgramData\nodemcu-prebuilt-toolchains-master\esp32\bin\xtensa-esp32-elf-gcc -mlongcalls -Wno-frame-address -o CMakeFiles\cmTC_bef14.dir\testCCompiler.c.obj -c testCCompiler.c"
[cmake] ninja: fatal: CreateProcess: %1 不是有效的 Win32 应用程序。
[cmake]
[cmake]
[cmake]
[cmake]
[cmake]
[cmake]
[cmake] CMake will not be able to correctly generate this project.
[cmake] Call Stack (most recent call first):
[cmake] C:/Users/li1gu/Desktop/esp-idf/tools/cmake/project.cmake:311 (__project)
[cmake] CMakeLists.txt:8 (project)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "C:/Users/li1gu/esp/sample_project/build/CMakeFiles/CMakeOutput.log".
[cmake] See also "C:/Users/li1gu/esp/sample_project/build/CMakeFiles/CMakeError.log".
The following is the error file
CMakeError.log
CMakeOutput.log
Does anyone know how to fix this?
I noticed esp32/bin/xtensa-esp32-elf-cc --version
yields:
xtensa-esp32-elf-cc (crosstool-NG crosstool-ng-1.22.0-61-gab8375a9) 5.2.0
At the same time, https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz yields:
xtensa-esp32-elf-cc (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 5.2.0
This repo appears to have an extra 9
in the version string. Is that intentional?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.