I tried building sainlcdtest.ino, the example that comes with LiquidCrystal_I2C and got the same error: "Error creating .elf." The attachment has the .ino file.
Here is the entire build message:
Compiling 'sainlcdtest' for 'Arduino Uno'
LCD.cpp.o:In function `LCD'
LCD.cpp:LCD()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:49: first defined here
LCD.cpp.o:In function `LCD'
LCD.cpp:LCD()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:49: first defined here
LCD.cpp.o:In function `LCD::backlight()'
LCD.cpp:backlight()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:301: first defined here
LCD.cpp.o:In function `LCD::noBacklight()'
LCD.cpp:noBacklight()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:308: first defined here
LCD.cpp.o:In function `LCD::command(unsigned char)'
LCD.cpp:command(unsigned char)'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:331: first defined here
LCD.cpp.o:In function `LCD::noAutoscroll()'
LCD.cpp:noAutoscroll()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:278: first defined here
LCD.cpp.o:In function `LCD::autoscroll()'
LCD.cpp:autoscroll()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:271: first defined here
LCD.cpp.o:In function `LCD::moveCursorLeft()'
LCD.cpp:moveCursorLeft()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:266: first defined here
LCD.cpp.o:In function `LCD::moveCursorRight()'
LCD.cpp:moveCursorRight()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:260: first defined here
LCD.cpp.o:In function `LCD::rightToLeft()'
LCD.cpp:rightToLeft()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:251: first defined here
LCD.cpp.o:In function `LCD::leftToRight()'
LCD.cpp:leftToRight()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:244: first defined here
LCD.cpp.o:In function `LCD::scrollDisplayRight()'
LCD.cpp:scrollDisplayRight()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:240: first defined here
LCD.cpp.o:In function `LCD::scrollDisplayLeft()'
LCD.cpp:scrollDisplayLeft()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:235: first defined here
LCD.cpp.o:In function `LCD::blink()'
LCD.cpp:blink()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:226: first defined here
LCD.cpp.o:In function `LCD::noBlink()'
LCD.cpp:noBlink()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:220: first defined here
LCD.cpp.o:In function `LCD::cursor()'
LCD.cpp:cursor()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:213: first defined here
LCD.cpp.o:In function `LCD::noCursor()'
LCD.cpp:noCursor()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:208: first defined here
LCD.cpp.o:In function `LCD::display()'
LCD.cpp:display()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:201: first defined here
LCD.cpp.o:In function `LCD:
n()'
LCD.cpp:on()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:315: first defined here
LCD.cpp.o:In function `LCD::noDisplay()'
LCD.cpp:noDisplay()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:195: first defined here
LCD.cpp.o:In function `LCD:
ff()'
LCD.cpp:off()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:323: first defined here
LCD.cpp.o:In function `LCD::setCursor(unsigned char, unsigned char)'
LCD.cpp:setCursor(unsigned char, unsigned char)'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:171: first defined here
LCD.cpp.o:In function `LCD::write(unsigned char)'
LCD.cpp:write(unsigned char)'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:342: first defined here
LCD.cpp.o:In function `LCD::createChar(unsigned char, unsigned char*)'
LCD.cpp:createChar(unsigned char, unsigned char*)'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:285: first defined here
LCD.cpp.o:In function `LCD::home()'
LCD.cpp:home()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:167: first defined here
LCD.cpp.o:In function `LCD::clear()'
LCD.cpp:clear()'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:161: first defined here
LCD.cpp.o:In function `LCD::begin(unsigned char, unsigned char, unsigned char)'
LCD.cpp:begin(unsigned char, unsigned char, unsigned char)'
LCD.cpp.o:C:\Program Files (x86)\Arduino\libraries\LCD\LCD.cpp:76: first defined here
Error creating .elf
Thanks,
Steve