Hello, I am new to Arduino, and I am trying to add a library, but! it says "no file or directory"
but here's the problem, I watched videos saying I need to install it, but I already had! and in the library manager, it says library installed, but I still get the error!!! here's the error
Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Uno"
Test_sketch:1:10: fatal error: DHTlib.h: No such file or directory
compilation terminated.
exit status 1
DHTlib.h: No such file or directory
it may be because in the code it says #include <dht.h>
but that's what happens if I do: Sketch > include library > DHTlib
There is something wrong with either the library or the library installation. I would suggest that you install a DHT library using the IDE library manager. That will insure that the library is the latest version and correctly installed. There will then be example code to verify your installation and test your sensor. Delete the other version from your libraries folder first.
Did you go to the IDE library manager, find a DHT library and install it? That was the point of deleting the other DHT library. So that you could install a known good library and install it in the right way.
Please include the entire error message. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.
ok, hold up, i deleted the Zip library, downloaded the one from the library manager, it say an error, it still downloaded, i opened example, example have me a no file or directory error
first of all, sorry, I could not send any replies because I joined the same day I wrote the question, second, I fixed the problem, it was not close to what you have been asking me to check or do, the problem was that the libraries were going to one file, but the IDE was searching for them at another location, thank you for your time and help