I am using Ubuntu 10.04LTS and have installed the Arduino software using the instructions in the Playground. This installs version 0018 which is working beautifully - with one exception.
I tried to compile the EEPROM_writeAnything code from the Playground and it refuses to compile with obscure error messages. Typically the cursor will go to an irrelevant line (such as one showing only a comment) and report <error: expected ‘,’ or ‘…’ before ‘&’ token>. I reduced the code down to the template declarations and it is clearly these which are causing the problem.
Other people are using this code successfully so I assume that the problem lies with my out of date version of the IDE.
Is this correct?
If so, how can I install the latest version on Ubuntu? Are there any instructions out there? I’m competent with Linux but emphatically no guru.
I’d be grateful for any pointers or comments.