Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples not compilate for ESP32 on ArduinoIDE 2.3 #304

Open
MarksRU opened this issue Jun 27, 2024 · 3 comments
Open

Examples not compilate for ESP32 on ArduinoIDE 2.3 #304

MarksRU opened this issue Jun 27, 2024 · 3 comments

Comments

@MarksRU
Copy link

MarksRU commented Jun 27, 2024

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:

  1. Open any Example
  2. Click on 'Compilate'
  3. See error
@MartinMueller2003
Copy link
Collaborator

I just built all of the examples for Arduino IDE 2.3 and did not have any errors.

@MartinMueller2003
Copy link
Collaborator

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.

@MarksRU
Copy link
Author

MarksRU commented Jul 16, 2024

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 и все работает правильно.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants