user3470: I'm trying to follow this this tutorial to program an ATtiny85 micro-controller using my Arduino Uno r3 as the ISP.
I am up to the final step on the tutorial, but get an error when attempting to compile my sketch:
'OUTPUT' was not declared in this scope

I have tried multiple "Blink" scripts, but none have seemed to work.
My full error log:
Blink.ino:10:21: error: Arduino.h: No such file or directory
Blink.ino: In function 'void setup()':
Blink:15: error: 'OUTPUT' was not declared in this scope
Blink:15: error: 'pinMode' was not declared in this scope
Blink.ino: In function 'void loop()':
Blink:20: error: 'HIGH' was not declared in this scope
Blink:20: error: 'digitalWrite' was not declared in this scope
Blink:21: error: 'delay' was not declared in this scope
Blink:22: error: 'LOW' was not declared in this scope

I have also tried including Arduino.h, no help, and changing "OUTPUT" to "0x01", as it is defined to said value in Arduino.h, but instead got this error:
error: 'pinMode' was not declared in this scope

Any ideas as to what is happening?

user6209: Try moving the "Cores" folder from the avi directory to the attiny director. The path was wrong for me and I was getting the same error. Had the same issue with the bootloader file. Moved it out of the avi folder as well and all worked ok then.

user4702: Create an Arduino.h in ...\Arduino\hardware\attiny45_85\cores\attiny45_85 containing
#include <WProgram.h>

From here
https://electronics.stackexchange.com/questions/87328/arduino-as-isp-for-attiny

3470: <p>I'm trying to follow this <a href="http://highlowtech.org/?p=1695" rel="nofollow">this</a> tutorial to program an ATtiny85 micro-controller using my Arduino Uno r3 as the ISP.</p>

<p>I am up to the final step on the tutorial, but get an error when attempting to compile my sketch:</p>

<pre><code>'OUTPUT' was not declared in this scope
</code></pre>

<p>I have tried multiple "Blink" scripts, but none have seemed to work.</p>

<p>My full error log:</p>

<pre><code>Blink.ino:10:21: error: Arduino.h: No such file or directory
Blink.ino: In function 'void setup()':
Blink:15: error: 'OUTPUT' was not declared in this scope
Blink:15: error: 'pinMode' was not declared in this scope
Blink.ino: In function 'void loop()':
Blink:20: error: 'HIGH' was not declared in this scope
Blink:20: error: 'digitalWrite' was not declared in this scope
Blink:21: error: 'delay' was not declared in this scope
Blink:22: error: 'LOW' was not declared in this scope
</code></pre>

<p>I have also tried including Arduino.h, no help, and changing "OUTPUT" to "0x01", as it is defined to said value in Arduino.h, but instead got this error:</p>

<pre><code>error: 'pinMode' was not declared in this scope
</code></pre>

<p>Any ideas as to what is happening?</p>
 6209: <p>Try moving the "Cores" folder from the avi directory to the attiny director. The path was wrong for me and I was getting the same error. Had the same issue with the bootloader file. Moved it out of the avi folder as well and all worked ok then.</p>
 4702: <p>Create an Arduino.h in ...\Arduino\hardware\attiny45_85\cores\attiny45_85 containing</p>

<pre><code>#include &lt;WProgram.h&gt;
</code></pre>

<p>From here
<a href="https://electronics.stackexchange.com/questions/87328/arduino-as-isp-for-attiny">https://electronics.stackexchange.com/questions/87328/arduino-as-isp-for-attiny</a></p>
