it means that the LiquidCrystal.h library has to be included in both the sketch and the library .h file?
Yes. See reply #1.