Pages: [1]   Go Down
Author Topic: Arduino on a breadboard does not compile [solved]  (Read 580 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: September 19, 2012, 04:32:52 am by Nick Gammon » Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 64
Posts: 6055
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't see an error.

Copy/paste it or attach the picture (under additional options)
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: