im trying to use the mavlink library and for that i need to use also the Fastserial-Library, but unfortunately they gives me errors. For better debug i just tried the Fastserial example sketch, which also throws me an error:
In file included from FastSerial.pde:15:
C:\Users\VaSa\Documents\Arduino\libraries\FastSerial/FastSerial.h:53: fatal error: avr/io.h: No such file or directory
compilation terminated.
Slected µC: Arduino DUE
Does anybody know what's wrong? Why it looks for the avr/io.h Library when the selected µC is the DUE?
Thank you all!
AWOL, i think it depends on the viewpoint ...
I also recognized that it also throws error with the arduino uno:
processing.app.debug.RunnerException
at processing.app.debug.Compiler.getCommandCompilerS(Compiler.java:498)
at processing.app.debug.Compiler.compileFiles(Compiler.java:201)
at processing.app.debug.Compiler.compileLibraries(Compiler.java:590)
at processing.app.debug.Compiler.compile(Compiler.java:97)
at processing.app.Sketch.build(Sketch.java:1572)
at processing.app.Sketch.build(Sketch.java:1551)
at processing.app.Editor$DefaultRunHandler.run(Editor.java:1925)
at java.lang.Thread.run(Thread.java:619)
i just tested in the Arduino 1.0.5. and it works fine.
So it seems that issue of the new Libraries which comes with newer Arduino IDE versions!??
Does anybody faced with this error and solved it?
There have been changes to the IDE, it's up to the author to keep up with the IDE. There are just too many libs out there for any one keep them upto date.
Lib that come with the IDE should be OK, but anything else (including stuff in the playground ) needs to be treated with a lot of care.