I am working on branch release/4.1. Everything was working fine on commit 84b51781c (23/5/2020) but when I tried commit bd72a9ab (3/8/2020) I get compiler errors. The compiler has been updated from 2019r2 to 2020r2.
The tool paths are correct but the compiler can't find some header files. For example:
=================================================================================================
[278/1167] Building CXX object esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_item_hash_list.cpp.obj
FAILED: esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_item_hash_list.cpp.obj
ccache D:\Repositories\Project-Folder\Espressif\esp-tools\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -Iconfig -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/nvs_flash/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/newlib/platform_include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/freertos/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/heap/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/log/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/lwip/include/apps -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/lwip/include/apps/sntp -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/lwip/lwip/src/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/lwip/port/esp32/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/lwip/port/esp32/include/arch -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/soc/esp32/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/soc/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/esp_rom/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/esp_common/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/xtensa/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/xtensa/esp32/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/esp32/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/driver/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/driver/esp32/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/esp_ringbuf/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/efuse/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/efuse/esp32/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/vfs/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/esp_wifi/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/esp_wifi/esp32/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/esp_event/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/esp_netif/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/esp_eth/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/tcpip_adapter/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/app_trace/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/spi_flash/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/mbedtls/port/include -ID:/Repositories/Project-Folder/Espressif/esp-idf/components/mbedtls/mbedtls/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw -Og -std=gnu++11 -fno-exceptions -fno-rtti -D_GNU_SOURCE -DIDF_VER=\"v4.1-rc-15-gbd72a9ab2\" -DESP_PLATFORM -MD -MT esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_item_hash_list.cpp.obj -MF esp-idf\nvs_flash\CMakeFiles\__idf_nvs_flash.dir\src\nvs_item_hash_list.cpp.obj.d -o esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_item_hash_list.cpp.obj -c D:/Repositories/Project-Folder/Espressif/esp-idf/components/nvs_flash/src/nvs_item_hash_list.cpp
In file included from d:\repositories\project-folder\espressif\esp-tools\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\ext\atomicity.h:35,
from d:\repositories\project-folder\espressif\esp-tools\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\bits\basic_string.h:39,
from d:\repositories\project-folder\espressif\esp-tools\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\string:52,
from D:/Repositories/Project-Folder/Espressif/esp-idf/components/nvs_flash/include/nvs_handle.hpp:4,
from D:/Repositories/Project-Folder/Espressif/esp-idf/components/nvs_flash/src/nvs_types.hpp:22,
from D:/Repositories/Project-Folder/Espressif/esp-idf/components/nvs_flash/src/nvs_item_hash_list.hpp:19,
from D:/Repositories/Project-Folder/Espressif/esp-idf/components/nvs_flash/src/nvs_item_hash_list.cpp:15:
d:\repositories\project-folder\espressif\esp-tools\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr.h:151:10: fatal error: bits/gthr-default.h: No such file or directory
#include <bits/gthr-default.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
=========================================================================================================
But I have the following file:
D:\Repositories\Project-Folder\Espressif\esp-tools\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr-default.h
If any of you guys can figure out what my problem could be, I would love to hear from you!
Thanks
2020r2-8.2.0 search path problems
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: Bing [Bot], Google [Bot] and 344 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.