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.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityI 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.
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