The standard way to install the library is documented in the Pololu AVR Programming Quick Start Guide. If for some reason the standard way of installing the library doesn’t work for you, it is easy to install the library manually.
First, determine the location of your avr-gcc files. This will typically be one of:
C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\184.108.40.2062\avr8-gnu-toolchain\avr
C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\220.127.116.11\AVRToolchain\avr
C:\Program Files (x86)\Atmel\AVR Studio 5.1\extensions\Atmel\AVRGCC\18.104.22.168\AVRToolchain\avr
C:\Program Files (x86)\Atmel\AVR Studio 5.0\AVR Toolchain\avr
If you currently have an older version of the Pololu AVR Library, your first step should be to delete all of the old include files and
libpololu_*.a files that you installed previously.
Next, copy the
libpololu_*.a files into the
lib subdirectory of your
avr directory (e.g.
/usr/lib/avr/lib). These library files represent separate compilations for the different AVR microcontrollers found on our Orangutans and 3pi robot. There are two different compilations for the ATmega1284P, one for the Orangutan SVP and one for the Orangutan X2. When you make your own projects, you will need to use the appropriate library for your particular microcontroller.
Finally, copy the entire
pololu subdirectory into the
include subdirectory of the
avr directory. The Pololu include files should now be located in