Go Down

Topic: Arduino on a breadboard does not compile [solved] (Read 678 times) previous topic - next topic

storm

Sep 18, 2012, 01:40 pm Last Edit: Sep 19, 2012, 11:32 am by Nick Gammon Reason: 1
Hi

I've got an arduino duemilanove, and I'm following the instructions here: http://arduino.cc/en/Tutorial/ArduinoToBreadboard.  I've download the breadboard.zip file and extracted it into /hardware/breadboard/ in my arduino sketch folder.  However when I come to verify any sketch using the "ATMega328 on a board (8MHz internal clock)" board, I get the following error:



I don't get this error when I verify a sketch using any other board.

I'm using arduino v 1.0.1 and OS X 10.8.1

Can anybody help?

Thanks
Dave

James C4S

I don't see an error.

Copy/paste it or attach the picture (under additional options)
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

storm

I put it in my original post with the [img] tags, the picture is here: http://i.imgur.com/Ngxke.png

storm

to anybody who has issues, I've solved my problems by reading this: http://flashgamer.com/arduino/comments/using-your-arduino-as-an-isp

The whole lot is worth a read, however the important bit for this problem is:
Quote
Problem:
"pins_arduino.h: No such file or directory"

Solution:
Copy the contents from the downloaded boards.txt in your src/hardware folder to the boards.txt in App folder instead. On OSX: right click the Arduino app and browse Contents/Resources/Java/hardware/arduino/boards.txt.

You may also need to add the line below after the other text you pasted as it's missing in the downloadable example file:
atmega328bb.build.variant=standard

Go Up