complier error

i keep getting this error message " collect2.exe: error: ld returned 1 exit status. Using library LiquidCrystal at version 1.0.5 in folder: C:\Program Files (x86)\Arduino\libraries\LiquidCrystal exit status 1
Error compiling for board Arduino/Genuino Uno. "

I've looked online, i can't anything to help me.

Please help!

Thanks in advance.

ps. here is my program. (it is not complete.)

// LCD Display
// include the library
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(4, 6, 10, 11, 12, 13);

void setup() 
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  lcd.print("Hello! This is  ");
  lcd.print("an arduino.     ");  
  lcd.print("Get an Arduino!");

  // loop for blinking.
  int x = 0;
  do {
    lcd.print("Coding is fun!");
    lcd.print("              ");
  } while(x != 5);

void Display()
  lcd.print("The things you ");
  lcd.print("can do with    ");
  lcd.print("               ");
  lcd.print("code is pretty ");

You need to look at the full compiler output, not just the couple lines at the end. Depending on how you have your console window(black window at the bottom of the Arduino IDE window) sized you may need to scroll up to see it all. The relevant part will look something like:

C:\Program Files (x86)\arduino-1.8.0\hardware\arduino\avr\cores\arduino/main.cpp:46: undefined reference to `loop'

So the problem is that you have no loop function in your sketch. Every sketch must have a loop function even if it's empty. For more information see:

So you can make your sketch compile by adding the lines:

void loop() {

outside of any of the other functions.

When you want help from the forum with an error you need to give us enough information to help you. This means we need the full compiler output. When you encounter an error you will see a button on the right side of the orange bar "Copy error messages". Click that button and then paste the error to the forum using code tags.


OS, IDE version, Board type could come in useful ?

Looks like windows of some flavour.

Complete code would be welcome too but thank you for using the code tags its nice to see a first question using some of the things provided.

By any chance do you have multiple LCD libs installed ?