Example in GLCD does not get complied

When I verify and compile "GLCD demo" sketch I get following error.

d:/pramod08/projects/avr/arduino/arduino-1.0-windows/arduino-1.0/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: GLCDdemo.cpp.elf section .text will not fit in region text
d:/pramod08/projects/avr/arduino/arduino-1.0-windows/arduino-1.0/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: region text overflowed by 5030 bytes

If I compile compile HELLO World sketch from GLCD example it gets complied.
Can any one tell me where could be the problem. is it with installation of GLCD library OR is it with my PC?

Your installation of the library is ok.
Also, the code appears to have compiled ok as well.
That error means the that compiled code when linked to create the final code image
is too large to fit in the micro-controller that you are using.

I am no longer maintain the GLCD library code.
I would suggest that you have a look at the openGLCD library which I currently am supporting.

openGLCD currently is a superset of the GLCD v3 library and has many new features as well
as bug fixes.
While it is not backward compatible with GLCD v3, there is a GLCD v3 backward compatibility mode
that can be used for existing projects while transitioning from GLCD v3 to openGLCD APIs.
openGLCD can be found here: bperrybap / openGLCD / wiki / Home — Bitbucket

--- bill

Thanks :slight_smile: