Error compiling code...please help

hello. i tried compiling my code but it always errors then shows this error message:

In file included from C:\Users\Kairu-Senpai\Desktop\Project Range Meter\code\code.ino:1:0:

C:\Users\Kairu-Senpai\Documents\Arduino\libraries\LiquidCrystal/LiquidCrystal.h:86:16: error: conflicting return type specified for ‘virtual void LiquidCrystal::write(uint8_t)’

virtual void write(uint8_t);


In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:26:0,

from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/HardwareSerial.h:29,

from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:232,

from C:\Users\KAIRU-~1\AppData\Local\Temp\arduino_build_240585\sketch\code.ino.cpp:1:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Print.h:51:20: error: overriding ‘virtual size_t Print::write(uint8_t)’

virtual size_t write(uint8_t) = 0;


Multiple libraries were found for “LiquidCrystal.h”
Used: C:\Users\Kairu-Senpai\Documents\Arduino\libraries\LiquidCrystal
Not used: C:\Program Files (x86)\Arduino\libraries\LiquidCrystal
Using library LiquidCrystal in folder: C:\Users\Kairu-Senpai\Documents\Arduino\libraries\LiquidCrystal (legacy)
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
exit status 1
Error compiling for board Arduino/Genuino Uno.

i don’t understand the error. please help. below is the code:

#include <LiquidCrystal.h>
LiquidCrystal LCD(11,10,9,2,3,4,5);

#define trigPin 13
#define echoPin 12

void setup(){
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);

LCD.print(“Proje Hocam”);

void loop(){
long duration, distance;
digitalWrite(trigPin, LOW);
digitalWrite(trigPin, HIGH);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = (duration/2) / 29.1; //Ölçüm fonksiyonu

LCD.print(" ");
LCD.print(“Mesafe “);
LCD.print(” cm”);

Seems you have multiple copies of the LiquidCrystal library one in default IDE location and one you downloaded

Please use code tags (</> button on the toolbar) when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup, leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier 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.

Print.h defines write() as returning a size_t (the number of bytes written). LiquidCrystal.h defines write() as returning none. You could edit the LiquidCrystal library source code to fix this but it might be easier to determine if you actually need to use that faulty version of the LiquidCrystal library. What is the story with this library:
From looking at your code it appears that the LiquidCrystal library included with the Arduino IDE would work. If not there are some 3rd party libraries for this purpose that will work without modification.