Can't get lcd.print to work

Move the declaration of the lcd object out of the setup routine (above it). You've made it local, so the attempts to use it in loop fail - as the compiler is (cryptically) trying to tell you.