no matching function for call to 'LiquidCrystal_I2C::begin()' ????

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <SoftwareSerial.h>

#include <SimpleDHT.h>

SoftwareSerial mySerial(2, 6); // Arudino Uno port RX, TX

// for DHT11,
// VCC: 5V or 3V
// GND: GND
// DATA: 7
int pinDHT11 = 7;
SimpleDHT11 dht11;

// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);

byte termometru[8] = //icon for termometer
{
B00100,
B01010,
B01010,
B01110,
B01110,
B11111,
B11111,
B01110
};
byte picatura[8] = //icon for water droplet
{
B00100,
B00100,
B01010,
B01010,
B10001,
B10001,
B10001,
B01110,
};

byte pm2_5_img[8] = //icon for dust 2.5
{
B10101,
B01010,
B10101,
B01010,
B10101,
B01010,
B10101,
B01010,
};

byte pm10_img[8] = //icon for dust 2.5
{
B11011,
B11011,
B00000,
B11011,
B11011,
B00000,
B11011,
B11011,
};

#define DLY_5000 5000
#define DLY_1000 1000

unsigned char pms[32] = {0,};

void ClearPMS7003() {
char temp;
while (mySerial.available() ) { // While nothing is received
temp = mySerial.read();
}

delay(100);
}

void setup()
{
Serial.begin(9600);
Serial.println("start ");

mySerial.begin(9600);

#if 1
// initialize the LCD
lcd.begin();

// Turn on the blacklight and print a message.
lcd.backlight();
lcd.print("Hello, KitPlus!");
delay(1000);
lcd.clear();

//
lcd.load_custom_character(1, termometru);
lcd.load_custom_character(2, picatura);
lcd.load_custom_character(3, pm2_5_img);
lcd.load_custom_character(4, pm10_img);
#endif

// display string
lcd.setCursor(0, 0);
lcd.print("HOME");
lcd.setCursor(0, 1);
lcd.print("AIR");

// display icon
lcd.setCursor(7, 0);
lcd.write(1);
lcd.setCursor(7, 1);
lcd.write(2);
lcd.setCursor(12, 0);
lcd.write(3);
lcd.setCursor(12, 1);
lcd.write(4);

}

void loop()
{
static int cur_time = 0, pre_time = 0;
static int cur_time_1 = 0, pre_time_1 = 0;

cur_time = millis();

static byte temperature = 0;
static byte humidity = 0;

int chksum = 0, res = 0;;

int PM_01;
int PM_25;
int PM_10;

// Get DHT11 data from simpleDHT library
//==============================================================================

if (cur_time - pre_time >= DLY_5000) {
// Update previous counter time.
pre_time = cur_time;

// start working...
#if 0
Serial.println("=================================");
Serial.println("Sample DHT11...");
#endif
// read without samples.
int err = SimpleDHTErrSuccess;
if ((err = dht11.read(pinDHT11, &temperature, &humidity, NULL)) != SimpleDHTErrSuccess) {
Serial.print("Read DHT11 failed, err=");
Serial.println(err);
temperature = 0;
humidity = 0;
}

#if 0
Serial.print("Sample OK: ");
Serial.print((int)temperature); Serial.print(" *C, ");
Serial.print((int)humidity); Serial.println(" H");
#endif
}

// Get PMS7003 Dust sensor data from sofewareserial
//==============================================================================
if (cur_time - pre_time_1 >= DLY_1000) {
// Update previous counter time.
pre_time_1 = cur_time;

if (mySerial.available() >= 32) {

for (int j = 0; j < 32 ; j++) {
pms[j] = mySerial.read();
if (j < 30)
chksum += pms[j];
}

if (pms[30] != (unsigned char)(chksum >> 8)
|| pms[31] != (unsigned char)(chksum) ) {
ClearPMS7003();
Serial.println("PMS7003 checksum fail");
} else if (pms[0] != 0x42 || pms[1] != 0x4d ) {
ClearPMS7003();
Serial.println("PMS7003 STX fail");
} else {
#if 1
Serial.print("Dust raw data debugging : ");
Serial.print("1.0ug/m3:");
Serial.print(pms[10]);
Serial.print(pms[11]);
Serial.print(" ");
Serial.print("2.5ug/m3:");
Serial.print(pms[12]);
Serial.print(pms[13]);
Serial.print(" ");
Serial.print("2.5ug/m3:");
Serial.print(pms[14]);
Serial.println(pms[15]);
#endif

PM_01 = (pms[10] << 8) | pms[11];
PM_25 = (pms[12] << 8) | pms[13];
PM_10 = (pms[14] << 8) | pms[15];
}
}

// display I2C 1602 LCD
//==============================================================================
#if 1
// value
lcd.setCursor(8, 0);
lcd.print(temperature);

lcd.setCursor(13, 0);
lcd.print(PM_25);

lcd.setCursor(8, 1);
lcd.print(humidity);
lcd.setCursor(13, 1);
lcd.print(PM_10);
#endif
}

but
no matching function for call to 'LiquidCrystal_I2C::begin()' ???
why error??

Please use code tags when you post code or warning/error messages. To do this, click the </> button on the forum toolbar, then paste the text you want to be in the code tags. Finally, move the cursor out of the code tags before adding any additional text you don't want to be in the code tags. If your browser doesn't show the posting toolbar, then you can manually add the code tags like this:
[code]``[color=blue]// your code is here[/color]``[/code]

The reason for doing this is that, without code tags, the forum software can interpret parts of your code as markup (the smiley faces in your code above for example), leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier for us to read your code and to copy it to the IDE or editor.

Using code tags and other important information is explained in the "How to use this forum" post. Please read it.

Please post a link (using the chain links icon on the forum toolbar to make it clickable) to where you downloaded the LiquidCrystal_I2C library from. Or if you installed it using Library Manger (Sketch > Include Library > Manage Libraries in the Arduino IDE or Libraries > Library Manager in the Arduino Web Editor) then say so and state the full name of the library.

 lcd.begin();

It is usually the case that this function needs the number of rows and columns on the LCD as parameters but that may not be the case with the library that you are using. Did it come with any examples ? Where did you get it from ?

Hi~
Can you help me?
When compiling the code,
it says there is no function that matches the call to 'LiquidCrystal_I2C :: begin ()'.
And I can't fix the code just by your description. So write down the fixed code.
And i use UNO board.
can you help me?

My code is

#include <Wire.h> 
#include <LiquidCrystal_I2C.h>
#include <SoftwareSerial.h>

#include <SimpleDHT.h>

SoftwareSerial mySerial(2,6); // Arudino Uno port RX, TX

// for DHT11, 
//      VCC: 5V or 3V
//      GND: GND
//      DATA: 7
int pinDHT11 = 7;
SimpleDHT11 dht11;

// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);

byte termometru[8] = //icon for termometer
{
    B00100,
    B01010,
    B01010,
    B01110,
    B01110,
    B11111,
    B11111,
    B01110
};
byte picatura[8] = //icon for water droplet
{
    B00100,
    B00100,
    B01010,
    B01010,
    B10001,
    B10001,
    B10001,
    B01110,
};

byte pm2_5_img[8] = //icon for dust 2.5
{
    B10101,
    B01010,
    B10101,
    B01010,
    B10101,
    B01010,
    B10101,
    B01010,
};


byte pm10_img[8] = //icon for dust 2.5
{
    B11011,
    B11011,
    B00000,
    B11011,
    B11011,
    B00000,
    B11011,
    B11011,
};


#define DLY_5000  5000
#define DLY_1000  1000

unsigned char pms[32]={0,};

void ClearPMS7003(){
  char temp;
  while (mySerial.available() ){                 // While nothing is received
    temp=mySerial.read();
   }

  delay(100);
}


void setup()
{
  Serial.begin(9600);
  Serial.println("start ");

  mySerial.begin(9600);

#if 1
  // initialize the LCD
  lcd.begin();

  // Turn on the blacklight and print a message.
  lcd.backlight();
  lcd.print("Hello, KitPlus!");
  delay(1000);
  lcd.clear();

//    
  lcd.load_custom_character(1,termometru);
  lcd.load_custom_character(2,picatura);
  lcd.load_custom_character(3,pm2_5_img);
  lcd.load_custom_character(4,pm10_img);
#endif

  // display string
  lcd.setCursor(0,0);     
  lcd.print("HOME");
  lcd.setCursor(0,1);     
  lcd.print("AIR");


  // display icon
  lcd.setCursor(7,0);     
  lcd.write(1);
  lcd.setCursor(7,1);     
  lcd.write(2);
  lcd.setCursor(12,0);    
  lcd.write(3);
  lcd.setCursor(12,1);    
  lcd.write(4);

}

void loop()
{
  static int cur_time=0, pre_time=0;
  static int cur_time_1=0, pre_time_1=0;
   
   cur_time = millis();
  
  static byte temperature = 0;
  static byte humidity = 0;

  int chksum=0,res=0;;

  int PM_01;
  int PM_25;
  int PM_10;

// Get DHT11 data from simpleDHT library
//==============================================================================

    if(cur_time - pre_time >= DLY_5000){
    // Update previous counter time.
    pre_time = cur_time;

    // start working...
#if 0
    Serial.println("=================================");
    Serial.println("Sample DHT11...");
#endif    
    // read without samples.
    int err = SimpleDHTErrSuccess;
    if ((err = dht11.read(pinDHT11, &temperature, &humidity, NULL)) != SimpleDHTErrSuccess) {
      Serial.print("Read DHT11 failed, err="); 
      Serial.println(err);
      temperature=0;
      humidity=0;
    }

#if 0
    Serial.print("Sample OK: ");
    Serial.print((int)temperature); Serial.print(" *C, "); 
    Serial.print((int)humidity); Serial.println(" H");
#endif    
      }
    
// Get PMS7003 Dust sensor data from sofewareserial
//==============================================================================
    if(cur_time - pre_time_1 >= DLY_1000){
    // Update previous counter time.
    pre_time_1 = cur_time;
    

  if(mySerial.available()>=32){

  for(int j=0; j<32 ; j++){
    pms[j]=mySerial.read();
    if(j<30)
      chksum+=pms[j];
  }

  if(pms[30] != (unsigned char)(chksum>>8) 
      || pms[31]!= (unsigned char)(chksum) ){
      ClearPMS7003();
      Serial.println("PMS7003 checksum fail");
  }else if(pms[0]!=0x42 || pms[1]!=0x4d ){
      ClearPMS7003();
      Serial.println("PMS7003 STX fail");
  }else{
#if 1
    Serial.print("Dust raw data debugging :  ");
    Serial.print("1.0ug/m3:");
    Serial.print(pms[10]);
    Serial.print(pms[11]);
    Serial.print("  ");
    Serial.print("2.5ug/m3:");
    Serial.print(pms[12]);
    Serial.print(pms[13]);
    Serial.print("  ");
    Serial.print("2.5ug/m3:");
    Serial.print(pms[14]);
    Serial.println(pms[15]);
#endif

    PM_01=(pms[10]<<8) | pms[11];
    PM_25=(pms[12]<<8) | pms[13];
    PM_10=(pms[14]<<8) | pms[15];
    } 
  }

// display I2C 1602 LCD
//==============================================================================
#if 1
    // value
    lcd.setCursor(8,0);   
    lcd.print(temperature);

    lcd.setCursor(13,0);    
    lcd.print(PM_25);
  
    lcd.setCursor(8,1);     
    lcd.print(humidity);
    lcd.setCursor(13,1);    
    lcd.print(PM_10);
#endif
    }

Can you post the complete compilation error message?

Can you post the complete compilation error message?

In the library from fdebrabader, called Arduino-LiquidCrystal-I2C-library, the constructor takes care of the address, and the size of the display:

LiquidCrystal_I2C(uint8_t lcd_addr, uint8_t lcd_cols, uint8_t lcd_rows, uint8_t charsize = LCD_5x8DOTS);

Then, there is the empty begin method:

	/**
	 * Set the LCD display in the correct begin state, must be called before anything else is done.
	 */
	void begin();

I've merged your cross posts @dongyoung.

Cross posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes writing a detailed answer on this thread, without knowing that someone else already did the same in the other thread.

Repeated cross posting will result in a suspension from the forum.

In the future, please take some time to pick the forum section that best suits the topic of your question and then only post once to that forum section. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum section. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

The code is correct, I do not get any compilation error. I think you had a problem when you installed the library, or installed the wrong one. Erase the library folder (I mean the folder of the library LiquidCrystal-I2C) and install this one instead.
Then, run the IDE again and try to compile

That error is typically caused from having the wrong library, unfortunately the are several that use the same file name for the #include statement.