LCD error compiling

This is code for my work but I'm a beginner programmer, so this is going to look messy , I'm read evey web site to fix it. it still error to compiling but i don't have any idea. how to fix it ? help me please .

#include <Servo.h> 
#include <Wire.h>
#include <LCD.h>
#include <LiquidCrystal_I2C.h>
#define ref0 500  // sensor A0 GP 
#define ref1 500  
LiquidCrystal_I2C lcd(0x27, 16, 2); 
const int outputEnabled = 2; 
const int s0 = 3; 
const int s1 = 4;
const int s2 = 5;
const int s3 = 6;
const int nLED = 7; 
const int out = 8; 
int red = 0;
int green = 0;
int blue = 0;
int x;
/////// Motor DC /////////
int dir1PinA = 10; 
int dir2PinA = 11; 
int speedPinA = 9; 
Servo myservo;   
//////////////////////////////////////////////////////////
void setup() 
{ 
servo_set();
motor_stop();
pinMode(outputEnabled, OUTPUT);
pinMode(s0, OUTPUT);
pinMode(s1, OUTPUT);
pinMode(s2, OUTPUT);
pinMode(s3, OUTPUT);
pinMode(nLED, OUTPUT);
pinMode(out, INPUT);
Serial.begin(9600);
digitalWrite(outputEnabled, LOW);
digitalWrite(s0, HIGH);
digitalWrite(s1, HIGH);
digitalWrite(nLED, LOW);
lcd.begin(16,2);
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("    STEM OBEC ");
lcd.setCursor(0, 1);
lcd.print("    Robotics");
lcd.setCursor(12, 1);
delay(2500);lcd.clear();
lcd.print("CONVEYOR PROJECT ");
lcd.setCursor(0, 1);
lcd.print("  Scan Press");
lcd.setCursor(12, 1);


buton();
//analcd();
}
//////////////////////////////////////////////////////////
void lcd_working() {lcd.clear();lcd.setCursor(0, 0);lcd.print("System Working.."); }
void lcd_stop() {lcd.clear();lcd.setCursor(0, 0);lcd.print("    Motor Stop"); }
void servo_set() {myservo.attach(12);myservo.write(10); }
void servo_up() {myservo.attach(12);myservo.write(90); }
void forward() {analogWrite(speedPinA, 255);digitalWrite(dir1PinA,LOW ); digitalWrite(dir2PinA,HIGH );}
void backward() {analogWrite(speedPinA, 255);digitalWrite(dir2PinA, HIGH); digitalWrite(dir1PinA,LOW );}
void motor_stop(){analogWrite(speedPinA, 0);digitalWrite(dir2PinA, LOW); digitalWrite(dir1PinA, HIGH);}
//////////////////////////////////////////////////////////
void ana()  // GP Scan
{while(true){  {int s0 = analogRead(A0);Serial.println(s0);delay(10);}}}
//////////////////////////////////////////////////////////
void analcd()  // GP Scan
{while(true){  {lcd.clear();Serial.println(analogRead(A0));Serial.println(analogRead(A1));lcd.setCursor(1, 1);lcd.print(analogRead(A0));lcd.setCursor(10, 1);lcd.print(analogRead(A1));delay(500);}}}
/////////////////////////////////////////////////////////
void gp()  // GP Scan
{lcd_working();while(true){ analogRead(A0);analogRead(A1);forward();
if(analogRead(A0)>ref0) {gp1();}
else if (analogRead(A1)>ref1){setup();  }}}
/////////////////////////////////////////////////////////
void gp1()  // GP Scan
{while(true){ analogRead(A0);analogRead(A1);forward();
if(analogRead(A0)<ref0-100) {lcd_stop() ;motor_stop(); delay(2000);gy31();}
else if (analogRead(A1)>ref1){setup();  }}}
/////////////////////////////////////////////////////////
void buton()  // GP Scan
{while(true){ analogRead(A1);if(analogRead(A1)>ref1) {lcd_working();delay(1500);gp();}
}}
///////////////////////////////////////////////////////////
/////////////////SCAN GRB GY-31//////////////////////////////
void gy31()  // RGB
{while(true){
color();
lcd.clear();
lcd.setCursor(4, 0);lcd.print("Process");
Serial.print("R");
Serial.print(red, DEC);
Serial.print(" G");
Serial.print(green, DEC);
Serial.print(" B");
Serial.print(blue, DEC);
Serial.println();
analogRead(A1);
//Simple logic to test for color
if (red < blue && red < green){Serial.println("Red");lcd.setCursor(6, 1);lcd.print("Red");servo_up();delay(2000);servo_set();delay(3000);gp();}
else if (blue < red && blue < green) {Serial.println("blue");lcd.setCursor(6, 1);lcd.print("blue");servo_set();delay(3000);gp();}
else if (analogRead(A1)>ref1){setup();}
else {Serial.println("green");lcd.setCursor(6, 1);lcd.print("green");servo_set();delay(3000);gp();}
delay(1000);}}

///////////////////////////////////////////////////////////
void color() {
digitalWrite(nLED,1);delay(100);
digitalWrite(s2, LOW);
digitalWrite(s3, LOW);
// count OUT, pRed, RED
red = pulseIn(out, digitalRead(out) == HIGH ? LOW : HIGH);
digitalWrite(s3, HIGH);
//count OUT, pBLUE, BLUE
blue = pulseIn(out, digitalRead(out) == HIGH ? LOW : HIGH);
digitalWrite(s2, HIGH);
// count OUT, pGreen, GREEN
green = pulseIn(out, digitalRead(out) == HIGH ? LOW : HIGH);
digitalWrite(nLED,0);
}
/////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////
void loop() {    }

Error compiling for board

C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp: In member function 'void LCD::selectFont(int)':

C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:152:19: error: statement cannot resolve address of overloaded function

Wire.write; // line spacing

^

Multiple libraries were found for "LiquidCrystal_I2C.h"
Used: C:\Users\Administrator\Documents\Arduino\libraries\LiquidCrystal_I2C
Not used: C:\Users\Administrator\Documents\Arduino\libraries\Arduino-LiquidCrystal-I2C-library-master
exit status 1
Error compiling for board Arduino/Genuino Uno.

Istheprogramwrittenlikethattomakeitashardtoreadaspossible?

Please use Auto Format in the IDE and post the code using code tags as described in read this before posting a programming question

The code in code tags is not the code that you originally posted. There is no Wire.write in the new code.

how to do it ?

How to do what?

i will change wire.write in newe code right ? sorry but i don't understand code tags .

The original code had this error:

C:Program Files (x86)ArduinolibrariesLCDLCD.cpp:152:19: error: statement cannot resolve address of overloaded function
       Wire.write; // line spacing

You can't use the write function like that. Since it is a function it requires an argument even if the argument is void (no argument). The argument is in the ( ) so even if the argument is void the () must be there. Also since there is no version (overload) of the write function for a void argument, there must be something in the () that there is a version for. The only data types that the write function will take are byte or byte array.

If you want to move the cursor to a new line on the LCD, use the setCursor() function.

i don't understand code tags .

I assume that you have not read read this before posting a programming question

You should start with something much much simpler for getting the LCD working like a simple "hello world" sketch.
Once that is working, then move on to adding additional code.
Until that simple "hello world" is working and displaying correctly on the LCD, things just get more complicated with other code.

You have installed two "LiquidCrystal_I2C" libraries.
While they both might be the same, they are in different locations so to the IDE they are two different libraries.
It appears that one was installed correctly and one was not.
The incorrect one looks like it was installed manually from downloading a zip image from a github page and installed using the manual zip install capability of the library manager.

My suggestion is to completely remove them both, (the IDE messages show you where they are) and then properly install one and only one i2c lcd backpack library from the IDE library manager.
While you can install LiquidCrystal_I2C from the library manager it may or may not work with your specific LCD backpack. Also, you will have to know the i2c address of your backpack.

Alternatively, I'd recommend that you install my hd44780 library package.
It is much easier to use at it can be quickly installed using the IDE library manager directly from the IDE GUI and it can auto self configure itself so you won't have to know the i2c address or the pin mappings used on your particular i2c backpack.

Read here for more information about the library and how to install it:
https://github.com/duinoWitchery/hd44780
DO NOT download and install it from a zip file. Use the IDE library manger as documented on the link above.

You can find some additional information on the hd44780 wiki.

The i/o class for that type of device is hd44780_I2Cexp
Read the wiki for information about that i/o class.
Run the included I2CexpDiag to test your device and make sure the library is working.
After that see the included HelloWorld sketch for the hd44780_I2Cexp i/o class for a minimal example that shows what header files to include and how to declare the lcd object and initialize the lcd.
The hd44780 library is LiquidCrystal API compatible so any code written for the LiquidCrystal library will work with hd44780 i/o classes once the proper header files are included and the lcd object is declared correctly.

--- bill