Go Down

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

sbfreddie

My Arduino.app was not installed in the Applications Folder, it was inside another folder that is why Xcode could not find it.
So I just moved it to the Application Folder and its working alright for now, its time to try to make it do something now.

I did not find the tutorial on your Website to be very useful at all, it is confusing because it does not just come out and tell you the steps you need to take to get it working.
Perhaps putting in FAQ (Frequently Asked Questions) section would be helpful.

Thanks,
Freddie

sbfreddie

Hi Again:
Now I have started to build a Project I get 42 errors related to the following file inclusions:

#include <OneWire.h> //These are the libs for the One-Wire interface
#include <UTFT.h>  // We are going to use the Display instead of the monitor
#include <SD.h>  // We also need the SD card libraries for storing the data on the disk.
#include <Wire.h>
#include <SPI.h>  // not used here, but needed to prevent a RTClib compile error
#include <RTClib.h>

Xcode does not seem to have a problem finding these files, however whenever I try to use any of the features of these files I get an error.  These work fine in the Arduino IDE with no errors.
What is wrong now?
Thanks,
Freddie

ScottG


Hi Again:
Now I have started to build a Project I get 42 errors related to the following file inclusions:

#include <OneWire.h> //These are the libs for the One-Wire interface
#include <UTFT.h>  // We are going to use the Display instead of the monitor
#include <SD.h>  // We also need the SD card libraries for storing the data on the disk.
#include <Wire.h>
#include <SPI.h>  // not used here, but needed to prevent a RTClib compile error
#include <RTClib.h>

Xcode does not seem to have a problem finding these files, however whenever I try to use any of the features of these files I get an error.  These work fine in the Arduino IDE with no errors.
What is wrong now?
Thanks,
Freddie


Go up a few posts (http://forum.arduino.cc/index.php?topic=49956.msg1340982#msg1340982) and it tells you how to take care of the onewire issue.  Not sure about the rest.  One issue I discovered for the user libraries (not app libraries) was that the directory name had to be the same as the library name; Arduino IDE didn't care but xcode does.

avenue33

#433
Aug 13, 2013, 04:13 pm Last Edit: Aug 13, 2013, 06:30 pm by avenue33 Reason: 1
Please find a new release of embedXcode

embedXcode • Aug 10, 2013 release 103 • First release of embedXcode+

I'm introducing a second and more elaborate version of embedXcode, embedXcode+, available soon.



A new release of the User Manual as e-book is also available.

I take this opportunity to announce that embedXcode is joining forces with Visual Micro, to share experience and release exciting new features.

As always,
• Website: http://embedxcode.weebly.com
• Download: http://embedxcode.weebly.com/download
• User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)

avenue33

Please find a new release of embedXcode.

embedXcode  • Sep 01, 2013 release 104 • Improved utilities
embedXcode+ • Sep 01, 2013 release 104 • Improved utilities and select among two connected boards


Release 104 inaugurates the new embedXcode+ edition with extended features.

In case two similar boards are connected, for example two Arduino boards, a windows lists the connections and ask to select one:


• To select the first port, press Enter, click on the button 1 or wait 10 seconds.
• To select the second port, click on the button 2.

This feature works with the Arduino boards and similar boards using a serial through USB connection.

As always,
• Website: http://embedxcode.weebly.com
• Download: http://embedxcode.weebly.com/download
• User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)

Go Up