Can you post your new code.
You need to ensure it lines up with the methods that are available within the library you are using.
From what you posted previously it looked like the code was indeed written for a dht.h library, but that was not available, and needed to be.