Atmel Studio + Arduino and LiquidCrystal

bonatius:
Hi Liudr,

I did it, but I get the same errors:

Error 1 undefined reference to LiquidCrystal::clear()' Error 2 undefined reference to LiquidCrystal::begin(unsigned char, unsigned char, unsigned char)'
Error 3 undefined reference to LiquidCrystal::setCursor(unsigned char, unsigned char)' Error 4 undefined reference to LiquidCrystal::setCursor(unsigned char, unsigned char)'
Error 5 undefined reference to `LiquidCrystal::LiquidCrystal(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'

Those look like linker errors, meaning that your program has compiled OK but the object code library file for the LiquidCrystal library was not found. Either locate the object code library and add it to the linker input list in your AVR Studio project, or add the LiquidCrystal.cpp file to the list of source files in your project.