Trying to update my Mendel 90s’ Melzi board firmware and the Arduino IDE gives me this :
In file included from /usr/lib/gcc/avr/4.5.3/…/…/…/avr/include/util/delay.h:44:0,
from /usr/lib/gcc/avr/4.5.3/…/…/…/avr/include/avr/delay.h:37,
from /usr/share/arduino/hardware/Melzi/cores/arduino/wiring_private.h:30,
from /usr/share/arduino/hardware/Melzi/cores/arduino/WInterrupts.c:34:
/usr/lib/gcc/avr/4.5.3/…/…/…/avr/include/math.h:426:15: error: expected identifier or ‘(’ before ‘double’
/usr/lib/gcc/avr/4.5.3/…/…/…/avr/include/math.h:426:15: error: expected ‘)’ before ‘>=’ token
I can’t find any file or tab called ‘math.h’
Anyone have an idea where to look for this or help for this ?
I was about to say, looks like you’re using an older Arduino environment, but you figured it out. I had a similar issue when switching from sprinter to repeteir or marlin. Glad you figured it out, it drove me crazy
This has come up on the http://reprap.org Mendel90 forum a couple of times and there are solutions posted. It is well worth visiting that forum for Mendel90-specific issues.