You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with version 3.0.0, the esp32 core has refactored its libraries in a way which requires including a library's dependencies as well, e.g., to use WiFi need to include its dependency Network as well:
#include <Network.h>
#include <WiFi.h>
Otherwise the compilation will fail:
In file included from /home/steve/.arduino15/packages/esp32/hardware/esp32/3.0.1/libraries/WiFi/src/WiFiSTA.h:29,
from /home/steve/.arduino15/packages/esp32/hardware/esp32/3.0.1/libraries/WiFi/src/WiFi.h:33,
from Radar.ino:4:
/home/steve/.arduino15/packages/esp32/hardware/esp32/3.0.1/libraries/WiFi/src/WiFiGeneric.h:39:10: fatal error: Network.h: No such file or directory
39 | #include "Network.h"
| ^~~~~~~~~~~
compilation terminated.
make: *** [build-targets.mk:68: Radar.ino.cpp.o] Error 1
Starting with version 3.0.0, the esp32 core has refactored its libraries in a way which requires including a library's dependencies as well, e.g., to use
WiFi
need to include its dependencyNetwork
as well:Otherwise the compilation will fail:
More information here.
The text was updated successfully, but these errors were encountered: