Closed in4mer closed 11 years ago
Hello in4mer,
thanks for repeating so many time your point, but as far as I can see from your report the IDE is working correctly.
<avr/pgmspace.h>
is an include that is specific for AVR CPUs, Arduino Due board is based on a completely different 32-bit ARM architecture. If you are using AVR-specific code you should port it for SAM3X before compiling for Arduino Due.
I can ALSO copy/paste the output messages as you can see here:
sketch_jan02a.ino:1: fatal error: avr/pgmspace.h: No such file or directory
compilation terminated.
best regards C
Hello,
The include pre-processing functionality has broken. My code will not compile, and CANNOT be compiled until a bug is filed, reviewed and fixed.
Let me repeat that for clarity:
Because of an obviously ___ design decision, code can not successfully be compiled in this IDE because there is no way to influence compiler flags.
Again:
A development environment, broken by incorrect auto-generated compiler flags has halted development, because the user cannot fix the compiler flags.
One more time:
The IDE is so broken, it has ceased to be an IDE. It is now an INDE.
Since the front-end is ALSO missing the capability to cut-buffer compiler output, I will not paste that output here. (I'm reaaaally starting to question my continued support of arduino).
The broken include is <avr/pgmspace.h>. Suffice it to say (it must; there's no way to get the output outside of a screenshot!), there are eight -Includes to the compiler. Not a SINGLE ONE OF THEM is anywhere in the avr includes tree.
This compile is breaking at an include from a library whose master.h is being explicitly included, which is in turn including avr/pgmspace.h
IDE v 1.5.1, linux x86_64, fresh install, compiling for a Due.