I am use 14.04 version of Ubuntu. Whenever i run AVR program this kind of error is generating "fatal error: avr/io.h: No such file or directory. compilation terminated".

So, please someone help me how to include avr/io.h file in the GCC compiler.


1 Answer 1


You might have installed just gcc-avr. For getting all the device specific libraries you need to install avr-libc as well.

please try sudo apt-get install avr-libc

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .