I recently upgradet my arduino IDE to 1.0.1. and i can't get IDE to work properly. I have arduino Nano with adafruit bootloader and i always get this error.
In file included from sketch_aug24a.cpp:3:
C:\Users\Grega\Desktop\arduino-1.0.1\hardware\arduino\cores\arduino/Arduino.h:213:26: error: pins_arduino.h: No such file or directory
Same problem here.
The boards.txt file has been taken from here
Copyed pins_ardino.h file from \Arduino\arduino-1.0.1\hardware\arduino\variants\standard to D:\Arduino\arduino-1.0.1\hardware\arduino\cores\arduino and problem has gone.
But I think Arduino team should patch this anyway.
This file is missing a line at the end to indicate the board variant:
atmega328bb.build.variant=standard
The subfolder must also contain the standard variant with the corresponding pins_arduino.h file.
So, follow the instructions in the tutorial to open your sketchbook folder and create the subfolder *\hardware\breadboard* containing the file boards.txt.
Then edit the file boards.txt to add the missing line.
Then create a subfolder *\variants\standard*, and copy the file pins_arduino.h from the folder *hardware\arduino\variants\standard* in your Arduino IDE installation.
In Ubuntu 12.10 this is *\usr\share\arduino* when the Arduino IDE is installed using the Ubuntu Software Center.
This will make the compilation work also for gnoduido.