
In some cases there will be multiple libraries that contain the given filename and you'll need to do some evaluation to determine which seems the most appropriate, then try it out. I will usually prefer results on since that is where most Arduino libraries are hosted and downloading from there is fast and easy. If you have a lot of results you might add "arduino" as an additional search keyword. If you have no luck in Library Manager then load up your favorite search engine and do a search for the missing filename. Scroll through the results for the right library.In the "Filter your search." box, type some keywords you have gleaned from the missing file name.Sketch > Include Library > Manage Libraries.In other cases the author of the code will not have been so kind and you'll need to go on a hunt for the missing library.Ī good place to start is the Arduino IDE's Library Manager: Often the code you're compiling will come with documentation (either a comment or separate document) that tells you where to get the library dependencies. When you see a "No such file or directory" error it almost always means you need to install the library that contains the missing file. If the Arduino IDE were working correctly it would look like this: In file included from C:\ArduinoSketches\libraries\DHT_sensor_library\DHT_U.cpp:15:0: This is the error message you need to deal with.

Used: C:\Users\hamil\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\libraries\WiFiĬ:\ArduinoSketches\libraries\DHT_sensor_library\DHT_U.h:36:29: fatal error: Adafruit_Sensor.h: No such file or directory This is how that warning message would look if the Arduino IDE was working correctly: Multiple libraries were found for "WiFi.h"

The "Multiple libraries were found" warning message is nothing to worry about as long as the Arduino IDE is selecting the correct library. There is some bug in the Arduino IDE that caused a warning message and an error message to be mixed together with each other. Multiple libraries were found for "WiFi.h"
