me-no-dev / AsyncTCP

Async TCP Library for ESP32
GNU Lesser General Public License v3.0
701 stars 419 forks source link

fatal error: sdkconfig.h: No such file or directory #178

Open Lumus-0x opened 5 months ago

Lumus-0x commented 5 months ago

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 1

Compilation error: exit status 1

When trying to compile the code, it gives an error that there is not enough file ARDUINO IDE

castruck commented 1 month 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.

include

include

// 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

me-no-dev commented 1 month ago

AsyncTCP is for ESP32. For ESP8266 you need ESPAsyncTCP