Trying to use a code that was used on here but can't make it work

here is the link with the code. I copy and paste it exactly how it is and I get an error of
"dht.h: No such file or directory"

It is trying to tell you it needs a file named dht.h. So there is more copying needed or find the file. Bet Google can find it.

I tried going to the add library and installing all of the dth.h and still get that error.

That is not a library. Didn't the error message tell you where it was looking?

So I deleted all the managed library folders and re-installed. That seem to have done the trick. Thanks