Error compiling for board Generic ESP8266 Module - DHT library

Hi, Im working on a project. The project is about automatic plant watering. Project worked well until I added DHT sensor. At first everything worked fine but when I tried to upload a sketch again it says Error compiling for board Generic ESP8266 Module. Im using Croduino NOVA2 it is based on esp8266. At first everything worked good and fine but now I have error while uploading the sketch. Here is my code:

Thanks for respond. :o

#include <DHT.h>
#include <ESP8266WiFi.h>

#define DHTtip DHT11   
#define dht_pin 5
#define relay 14

const char* ssid = "B-Wifi"; 
const char* password = "ibisvetlo"; 
 
String DHT_temperatura;
String DHT_vlaga;
int vlaga_zemlje;


DHT dht(dht_pin, DHTtip); 
WiFiServer server(80); 

void setup()
{ 
  dht.begin();
  Serial.begin(115200);
  Serial.println();
  Serial.print("Spajanje na ");
  Serial.println(ssid);
  pinMode(relay, OUTPUT);
   
  WiFi.begin(ssid, password);
   
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("");
  Serial.println("WiFi spojen");
   
  server.begin();
  Serial.println("Server pokrenut");
   
  Serial.print("IP adresa: ");
  Serial.print(WiFi.localIP());

}
void loop() {
  WiFiClient client = server.available();
   if (!client) {
      return;
   }
   
   Serial.println("Novi klijent");
   while(!client.available()){
     delay(1);
   }
   
   String request = client.readStringUntil('\r');
   Serial.println(request);
   client.flush();

  // UPGRADE
  // https://e-radionica.com/hr/blog/2017/12/10/croduino-nova-kao-server-a-k-a-kako-spojiti-uredaje-s-croduino-nova/

    client.println("<HTML>");
    client.print("<HEAD>");
    client.print("<meta http-equiv=\"refresh\" content=\"2\">");
    client.print("<TITLE/>PAMETNA STANICA</title>");
    client.print("</head>");
    client.println("<BODY>");
    client.println("<h1 style=text-align:center;background-color:black;color:white;font-size:400%;>PAMETNA STANICA</h1>");
    client.println("
");

    DHT_vlaga= (String(dht.readHumidity()) + " %"); 
    DHT_temperatura= (String(dht.readTemperature()) + " *C");
    client.println("<h2 style=text-align:left;>PAMETNA STANICA</h2>");   
    client.print("<span class=label>Trenutacna vlaga zraka: </span>");   
    client.print(DHT_vlaga);
    client.print("
");
    client.print("
");
    client.print("<span class=label> Trenutacna temperatura: </span>");
    client.print(DHT_temperatura);
    vlaga_zemlje = analogRead(A0);
    if (vlaga_zemlje <= 600){
       stani();
       client.println("<p>Biljka je previše zalivena.</p>");
   }else if (vlaga_zemlje <= 800){
        stani();
       client.println("<p>Biljka je zalivena.</p>");    
    }else{
       client.println("<p>Biljka je suha.</p>");
       ZaliBiljku();
   }
    client.println("
");
    client.println("
");
    client.println("
");
    client.print("<h3 style=text-align:right;>version 0.0.0.1.</h2>");
    client.print("<h3 style=text-align:right;>Early access</h2>");
    client.println("</BODY>");
    client.println("</HTML>");
    delay(800);
}

Please post the full error message

Arduino: 1.8.8 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled, nodemcu, 26 MHz, 40MHz, DOUT (compatible), 4M (1M SPIFFS), 13, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Build options changed, rebuilding all
In file included from C:\Users\simun\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp:22:0:

C:\Users\simun\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory

 #include <Adafruit_Sensor.h>

                             ^

compilation terminated.

exit status 1
Error compiling for board Generic ESP8266 Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Adafruit_Sensor.h: No such file or directory

Do you have this file and if so where is it located on your PC ?

If that means dht sensor library, I have it in my libraries folder.

The error message specifically mentions Adafruit_Sensor.h

Do you have that file and if so exactly where is it located ?

I dont have that on my computer. Where can I download it?

Where can I download it?

It's a wild guess, but maybe from Adafruit or even GitHub - adafruit/Adafruit_Sensor: Common sensor library

Your wild guess make it worked. I just needed to install that library. Thank you!!!

I am glad it worked.

What did you think that the error message meant when it said

Adafruit_Sensor.h: No such file or directory

other than the compiler could not find the file ?

Exactly that but I thought it couldnt find dht library,