Examples not compilate for ESP32 on ArduinoIDE 2.3
MarksRU opened this issue · comments
Describe the bug
When compiling any example from the library for any ESP32 module, I get an error.
The compilation for ESP8266 is successful, the example is loaded into the module and works.
При попытке скомпилировать любой пример из библиотеки в среде ArduinoIDE 2.3 для модуля ESP32 получаю ошибку.
Компиляция для ESP8266 проходит успешно, пример загружается в модуль и работает.
c:\Users\myrch\Documents\Arduino 2.3\libraries\ESPUI\src\ESPUI.cpp: In function 'String heapInfo(const __FlashStringHelper*)':
c:\Users\myrch\Documents\Arduino 2.3\libraries\ESPUI\src\ESPUI.cpp:58:5: error: 'result' was not declared in this scope
58 | result += ESP.getFreeHeap();
| ^~~~~~
exit status 1
Compilation error: exit status 1
To Reproduce
Steps to reproduce the behavior:
- Open any Example
- Click on 'Compilate'
- See error
I just built all of the examples for Arduino IDE 2.3 and did not have any errors.
I just cleared my Arduino libraries and compiled again and all the Arduino builds failed on the ESPAsyncWebServer lib. It looks like Arduino Library manager is NOT bringing in the me-no-dev libraries. The PIO example works because it brings in the correct version of the library.
I just cleared my Arduino libraries and compiled again and all the Arduino builds failed on the ESPAsyncWebServer lib. It looks like Arduino Library manager is NOT bringing in the me-no-dev libraries. The PIO example works because it brings in the correct version of the library.
Thank you so much.
The lacamera/ESPAsyncWebServer library (https://github.com/lacamera/ESPAsyncWebServer) is installed in the Arduino ide. This is a bad fork.
I downloaded me-no-dev/ESPAsyncWebServer from GitHub (https://github.com/me-no-dev/ESPAsyncWebServer?ysclid=lyosybspmo759236207), installed it in Arduino IDE 2.3 and everything works correctly.
Спасибо огромное.
В Arduino ide устанавливается библиотека lacamera/ESPAsyncWebServer. Это плохой fork.
Я скачал с GitHub me-no-dev/ESPAsyncWebServer, установил ее в Arduino IDE 2.3 и все работает правильно.