lcd i2c library probllem

Hey,
Ive been trying to use my lcd i2c chip, but when Im trying to use the library as following:

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

LiquidCrystal_I2C lcd(0x20,16,2); 

void setup()
{
  lcd.init();                     
 

  lcd.backlight();
  lcd.print("Hello, world!");
}

void loop()
{
}

I get this error:

In file included from sketch_nov19a.ino:2:
C:\Users\Ely\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:80: error: conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Print.h:48: error:   overriding 'virtual size_t Print::write(uint8_t)'

I couldnt find any solution… Any help please? Thanks.

You have an old outdated version of the library. You need to find a newer version.

Delta_G: You have an old outdated version of the library. You need to find a newer version.

Thank you for your help I'm wondering, why wouldn't it work? The progrem is too new compare to to the library? Do you an updated library for me? Thank you very much.

This library was written way back when the Print class's write method returned void. Somewhere around version 1.0 of Arduino the Print class was changed to return size_t from write.

I don't have the newer version, but it shouldn't be hard to find.