Open Lumus-0x opened 5 months ago
Brand new install of Arduino IDE 2.3.2 using ESP8266 NodeMCU 1.0 (ESP 12-E Module) added AsyncTCP.h trying to create a web server instance but getting compilation error.
// Create an instance of the web server ESPAsyncWebSrv server(80);
In file included from C:\Users\castr\OneDrive\Documents\Arduino\arduino_ide_esp8266_nodemcu_pump_code_Copilot\arduino_ide_esp8266_nodemcu_pump_code_Copilot.ino:2:
c:\Users\castr\OneDrive\Documents\Arduino\libraries\AsyncTCP\src/AsyncTCP.h:26:10: fatal error: sdkconfig.h: No such file or directory
26 | #include "sdkconfig.h"
| ^~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
AsyncTCP
is for ESP32. For ESP8266 you need ESPAsyncTCP
In file included from C:\Users\Станислав\Documents\Arduino\Lan_server__PVZ\Lan_server__PVZ.ino:3: c:\Users\���������\Documents\Arduino\libraries\AsyncTCP\src/AsyncTCP.h:26:10: fatal error: sdkconfig.h: No such file or directory 26 | #include "sdkconfig.h" | ^
~~~~ compilation terminated. exit status 1Compilation error: exit status 1
When trying to compile the code, it gives an error that there is not enough file ARDUINO IDE