Go Down

Topic: Arduino on Xcode Project — Official Thread (Read 153 times) previous topic - next topic


hi Avenue33 and gianmarco

if you get this:
make: *** No rule to make target `/Applications/Arduino.app/Contents/Resources/Java/hardware/Sanguino/cores/arduino/pins_arduino.o', needed by `bin/core.a'.  Stop.

It means you are trying to compile for sanguino and he can't find a file in the Sanguino folder. In this case you would need to have the sanguino sources in your arduino app. You can find instructions about that here: http://sanguino.cc/

Also, if you are not trying to build for Sanguino, you should change the build setting in XCode to make it build for your specific board. I have put the instructions on how to do that in the Readme inside the XCode project:

And maybe you didn't download the specific project for XCode4 on github. It is called "ArduinoOnXCode4_2" , I just re-uploaded that.
The one called "ArduinoOnXcode/" is the template for XCode 3.2

let me know if it still fails, I can't test on Lion right now because I'm out of the country.



I don't understand git… :(

Neither do I, even with the nice Git front client installed on my MacBook ;) .


Thanks Tim,
I've downloaded the correct project, tried to compile it (after verifying that the current board is UNO) and still an error appears inside Arduino.h: This header seems not available.

Code: [Select]
#include "pins_arduino.h"



Code: [Select]
#include <pins_arduino.h>
instead of
Code: [Select]
#include "pins_arduino.h"

The same problem arises with Eclipse.


are you using the new Arduino app (arduino 1.0) ? My projects are not updated to that version yet. Will try to do it as soon as possible.

For now, it is only tested with Arduino app 0022 like it says in the readme: https://github.com/timknapen/Arduino-With-XCode/blob/master/README


Go Up