'lcd' was not declared in this scope (??)

Bear with me, I’m a beginner…

Some sketch I found on internet uses a “LiquidCrystal_SR” library which I don’t have. It allows using an LCD with just two wires. So, in order to try to change the sketch, I used “LiquidCrystal_I2C” and “Wire”. But I keep running into the same error message, while lcd.print() is perfectly correct I think.
Here is the sketch: (I want to try to use it with an Arduino UNO.)

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

  Manchester Receiver for Attiny
  In this example receiver will receive one 16 bit number per
  transmittion to switch a relay on or off. 
  try different speeds using these constants, your maximum possible
  speed will depend on various factors like transmitter type, 
  distance,  microcontroller speed, ...

  MAN_300 0
  MAN_600 1
  MAN_1200 2
  MAN_2400 3
  MAN_4800 4
  MAN_9600 5
  MAN_19200 6
  MAN_38400 7

#define RX_PIN 1 //= pin 6
uint8_t moo = 1;

void setup()

  man.setupReceive(RX_PIN, MAN_1200);

void loop() {
  if (man.receiveComplete()) {
    uint16_t m = man.getMessage();
    man.beginReceive(); //start listening for next message right
                        //after you retrieve the message
   moo = ++moo % 2;

I keep getting error: ‘lcd’ was not declared in this scope.

Where do I go wrong?
Thankss for helping!

You probably need to create an lcd object at the beginning before setup. Look at the example codes for the particular lcd library you have and see if they don't have something up above setup that has:

SOMETHING lcd (somestuff in parenthesis);

From an example sketch:

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

Your specific parameters may vary.

Thanks guys,

Just found that too after Delta_G mentioned that I missed the object,
Thanks, just corrected my mistake in the sketch and it runs now!