win10系统,使用esp-idf-tools-setup-2.3.exe安装,SDK版本是esp idf 4.1.
第一次安装ESP IDF工具链没有问题,一个月后便出错(中间安装卸载过esp adf等其它SDK、python从3.7升级到3.12).
错误为:No CMAKE_ASM_COMPILER could be found.
使用esp-idf-tools-setup-2.3.exe卸载工具链,然后重新安装,依然是下边错误。安装过程没有错误。
Using Python in C:\Python312\
Python 3.12.4
Using Git in C:\Program Files\Git\cmd\
git version 2.21.0.windows.1
Setting IDF_PATH: E:\evtek\esp_dsled\esp-idf
Adding ESP-IDF tools to PATH...
C:\Users\zuolo\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\bin
C:\Users\zuolo\.espressif\tools\xtensa-esp32s2-elf\esp-2020r2-8.2.0\xtensa-esp32s2-elf\bin
C:\Users\zuolo\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Users\zuolo\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Users\zuolo\.espressif\tools\cmake\3.13.4\bin
C:\Users\zuolo\.espressif\tools\openocd-esp32\v0.10.0-esp32-20191114\openocd-esp32\bin
C:\Users\zuolo\.espressif\tools\ninja\1.9.0\
C:\Users\zuolo\.espressif\tools\idf-exe\1.0.1\
C:\Users\zuolo\.espressif\tools\ccache\3.7\
C:\Users\zuolo\.espressif\python_env\idf4.1_py3.12_env\Scripts
E:\evtek\esp_dsled\esp-idf\tools
Checking if Python packages are up to date...
E:\evtek\esp_dsled\esp-idf\tools\check_python_dependencies.py:22: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
Python requirements from E:\evtek\esp_dsled\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
E:\evtek\esp_dsled\esp-idf>idf.py build
E:\evtek\esp_dsled\esp-idf\tools\check_python_dependencies.py:22: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
E:\evtek\esp_dsled\esp-idf\tools\idf.py:364: DeprecationWarning: 'MultiCommand' is deprecated and will be removed in Click 9.0. Use 'Group' instead.
class CLI(click.MultiCommand):
Executing action: all (aliases: build)
Running cmake in directory e:\evtek\esp_dsled\esp-idf\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized -DCCACHE_ENABLE=1 e:\evtek\esp_dsled\esp-idf"...
Warn about uninitialized values.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Didn't find assembler
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_ASM_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!
See also "E:/evtek/esp_dsled/esp-idf/build/CMakeFiles/CMakeOutput.log".
See also "E:/evtek/esp_dsled/esp-idf/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1
E:\evtek\esp_dsled\esp-idf>
ESP IDF长时间未使用后,工具链出错,卸载重装也不行
-
zuolongjun
- Posts: 2
- Joined: Sat Dec 19, 2020 6:59 am
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- ESP32-S31
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- ESP32-S31 中文讨论版
- 喵伴 中文讨论版
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 3 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.
Information
Espressif ESP32 ... Available now!