2.b. Manual Installation

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\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr
  • C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.1002\avr8-gnu-toolchain\avr
  • C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.0.65\AVRToolchain\avr
  • C:\Program Files (x86)\Atmel\AVR Studio 5.1\extensions\Atmel\AVRGCC\3.3.1.27\AVRToolchain\avr
  • C:\Program Files (x86)\Atmel\AVR Studio 5.0\AVR Toolchain\avr
  • C:\WinAVR-20100110\avr
  • /usr/lib/avr
  • /usr/avr
  • /usr/local/CrossPack-AVR/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 avr/include/pololu.

Related Products

Encoder for Pololu Wheel 42x19mm
Pololu 42×19mm Wheel and Encoder Set
Orangutan SV-168 Robot Controller
Orangutan SVP-1284 Robot Controller (assembled)
Orangutan SVP-1284 Robot Controller (partial kit)
QTR-1RC Reflectance Sensor (2-Pack)
QTR-L-1A Reflectance Sensor (2-Pack)
QTR-L-1RC Reflectance Sensor (2-Pack)
QTR-3A Reflectance Sensor Array
QTR-3RC Reflectance Sensor Array
QTR-1RC Reflectance Sensor
QTR-1A Reflectance Sensor
QTR-1A Reflectance Sensor (2-Pack)
Orangutan SVP-324 Robot Controller (partial kit)
Orangutan SV-328 + USB Programmer Combo
Baby Orangutan B-328 Robot Controller
Orangutan SV-328 Robot Controller
Baby Orangutan B-328 + USB Programmer Combo
Baby Orangutan B-48 Robot Controller
QTR-8A Reflectance Sensor Array
QTR-8RC Reflectance Sensor Array
Pololu 3pi Robot
Baby Orangutan B-168 + USB Programmer Combo
Baby Orangutan B-48 + USB Programmer Combo
Orangutan LV-168 + USB Programmer Combo
Orangutan LV-168 Robot Controller
Orangutan SV-168 + USB Programmer Combo
Orangutan SVP-324 Robot Controller (assembled)
Orangutan LV-168 + USB Programmer Combo
Orangutan SV-328 + USB Programmer Combo
3pi Robot + USB Programmer + Cable Combo
Baby Orangutan B-48 + USB Programmer Combo
Baby Orangutan B-328 + USB AVR Programmer Combo
Orangutan X2 with VNH3
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors