Hi,
I am having some errors when trying to build my code. I've been editing some code on visual studio using the Espressif extension for the past two weeks without any error. But today, I am running into some errors out of no where after making no changes to my code. One reason this could potentially be happening is that I updated my windows laptop at the end of the day yesterday and it could have corrupted something but I have already tried reinstalling ESP-IDF and visual studio itself as well. I have also tried using other versions of ESP-IDF but this hasn't solved the issue either. I am currently using ESP-IDF v5.2.1. Here are the error logs I am having.
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/Users/Jimmy/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32-elf-g++.exe
Build flags: -mlongcalls;-Wno-frame-address;
Id flags:
The output was:
Exit code 0xc0000142
Detecting CXX compiler ABI info failed to compile with the following output:
Change Dir: C:/Users/Jimmy/ESP32/TESSTING_GIMBLE/build/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Users/Jimmy/.espressif/tools/ninja/1.11.1/ninja.exe cmTC_ba132 && [1/2] Building CXX object CMakeFiles/cmTC_ba132.dir/CMakeCXXCompilerABI.cpp.obj
FAILED: CMakeFiles/cmTC_ba132.dir/CMakeCXXCompilerABI.cpp.obj
C:\Users\Jimmy\.espressif\tools\xtensa-esp-elf\esp-13.2.0_20230928\xtensa-esp-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -v -o CMakeFiles/cmTC_ba132.dir/CMakeCXXCompilerABI.cpp.obj -c C:/Users/Jimmy/.espressif/tools/cmake/3.24.0/share/cmake-3.24/Modules/CMakeCXXCompilerABI.cpp
ninja: build stopped: subcommand failed.
Determining if the CXX compiler works failed with the following output:
Change Dir: C:/Users/Jimmy/ESP32/TESSTING_GIMBLE/build/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Users/Jimmy/.espressif/tools/ninja/1.11.1/ninja.exe cmTC_efcd0 && [1/2] Building CXX object CMakeFiles/cmTC_efcd0.dir/testCXXCompiler.cxx.obj
FAILED: CMakeFiles/cmTC_efcd0.dir/testCXXCompiler.cxx.obj
C:\Users\Jimmy\.espressif\tools\xtensa-esp-elf\esp-13.2.0_20230928\xtensa-esp-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -o CMakeFiles/cmTC_efcd0.dir/testCXXCompiler.cxx.obj -c C:/Users/Jimmy/ESP32/TESSTING_GIMBLE/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
ninja: build stopped: subcommand failed.
ESP-IDF Compiler Errors
-
- Posts: 1
- Joined: Thu Mar 14, 2024 2:06 pm
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- 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 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- 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 212 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.