Hi everyone,
I knew some user already posted this question but I cannot find the suitable solution to solve my error.
Therefore, I ask again hope have some hits.
1. I download Arduino with the version 1.0.5 copy the file of AVR and paste on 1.6.0. from
but does not work on my environment.
2. Then I try to edit one by one.
a) D:\CeasTech\Arduino\software\arduino-1.6.5-r5-windows\libraries\TFT
under this folder I have created 'avr' folder then includes common.h, sfr_defs.h, version.h and portpins.h
b) verify the previous program next error occur "fatal error: avr/interrupt.h: No such file or directory"
I cannot find the coding file inside Arduino 1.0.5, but I found on online http://www.nongnu.org/avr-libc/user-manual/io_8h_source.html io.h Source File .
then continue error occur missing file fuse.h and lock.h
After, I am completed the file more error occurs.
Thank you and have a nice day.
Link Copied
Hello chewcheik,
The avr/io.h file is for AVR architectures (Arduino boards). The reason why you get those errors is because Edison has a different architecture which is not compatible with the libraries you are using. Even though you copy the files from another IDE version, the libraries won't work. You should use a library written for Edison, or a library that doesn't have architecture dependencies, otherwise it won't work on Edison.
Fortunately, there is a TFT library shared by other users which is Edison compatible. You might find it interesting. The following threads discuss the use of this library, I recommend you to check them:
I hope you find them useful.
Regards,
Diego.
Hello chewcheik,
The avr/io.h file is for AVR architectures (Arduino boards). The reason why you get those errors is because Edison has a different architecture which is not compatible with the libraries you are using. Even though you copy the files from another IDE version, the libraries won't work. You should use a library written for Edison, or a library that doesn't have architecture dependencies, otherwise it won't work on Edison.
Fortunately, there is a TFT library shared by other users which is Edison compatible. You might find it interesting. The following threads discuss the use of this library, I recommend you to check them:
I hope you find them useful.
Regards,
Diego.
For more complete information about compiler optimizations, see our Optimization Notice.