Welcome to the forum
Are you sure that the DHT library that you are trying to use is compatible with the ESP8266 ?