Help Compilation error: expected primary-expression before '.' token keeps showing up

#include <Bonezegei_DHT11.h>

#include <LiquidCrystal.h>

#include <Wire.h>

#define lcd

#define dht

#define DHT

#define LiquidCrystal_I2C lcd(0x3f, 16, 2);

#define DHTPIN 13

#define DHTTYPE DHT

}

void loop() {

dht.begin();

lcd.begin(16, 2);

lcd.backlight();

lcd.setcursor(0, 1);

lcd.print("TEMP:");

float c = dht.readTemperature(true);

float h = dht.readHumidity(true);

lcd.setcursor(6, 0);

lcd.print((c-35)*0.5556);

lcd.print(char(223));

lcd.print(c);

lcd.setcursor(0, 1);

lcd.print("HUMI:");

lcd.setcursor(6, 1);

lcd.print(h);

lcd.print("%");

pinMode(9, OUTPUT);

if (h<60) {

digitalWrite(9, HIGH);

lcd.setcursor(6, 0);

lcd.print((c-35)*0.5556);

lcd.print(char(223));

lcd.print(c);

lcd.setcursor(0, 1);

lcd.print("HUMI:");

lcd.setcursor(6, 1);

lcd.print(h);

lcd.print("%");

}

if (h>70) {

digitalWrite(9, LOW);

break;

}

}

Welcome to the forum

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use code tags (the < CODE/ > icon above the compose window) to make it easier to read and copy for examination

https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum

Please post your sketch, using code tags when you do
Posting your code using code tags prevents parts of it being interpreted as HTML coding and makes it easier to copy for examination

In my experience the easiest way to tidy up the code and add the code tags is as follows
Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.

Please post the full error message, again using code tags

#define DHTTYPE DHT

}

That closing brace should not be there

#define dht

dht has no definition so when the compiler reaches

    dht.begin();

what it sees is

    .begin();