Suddenly VSCode/PlatformIO has produced this error (no new libraries were added, just new code):

How do I find this missing file??? Last build I had a running application.
Note that I am not using Ethernet in my application, so I don’t know why it is even referenced. I am only using Wifi.
These are the libdeps:

These are my #includes
#include <Arduino.h>
//#include <FS.h> // File handling
#include <SD.h> // microSD interfacing
#include <SPI.h> // SPI communication protocol
#include <ezTime.h>
#include <WiFi.h> // Wifi library
#include <AsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <AsyncHTTPRequest_Generic.h>
#include <Ticker.h>
Note that Ethernet is a dependency of AsyncHTTPRequest_Generic.h. The problem is that the .h file isn’t available when it’s included.
… stm32_def.h
for a NodeMCU-32S board, which is ESP32 based, not STM32 based? Something’s wrong here, including the wrong libraries dependencies.
You should add
lib_compat_mode = strict
(docs) to the platformio.ini
.
If that still does not help, add
lib_ignore =
STM32AsyncTCP
STM32duino LwIP
STM32Ethernet
WebServer_WT32_ETH01
to the platformio.ini
to exclde seemingly wrong dependencies.
Adding
lib_ignore =
STM32AsyncTCP
STM32duino LwIP
STM32Ethernet
WebServer_WT32_ETH01
eliminated the problem. Clearly there is an issue with dependencies.
Thanks!