Show Posts
Pages: [1]
1  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: October 14, 2012, 02:08:03 pm
Thanks.

At this point I can build the Build target, but code sense is still not working on PDE files despite having their type set to C++ Source and re-indexing 3 times now.

None of the other standard C/C++ file types are having this issue. It's as if the if-def header isn't being processed properly in specifically the PDE file despite it otherwise being treated like a C/C++ file.

EDIT - Per your suggestion, I eliminated the larger if-def block in place for just Android.h since that's the only platform I am working with.  After re-indexing, everything seems to be fine.

Thank you so much for setting this whole thing up.
2  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: October 14, 2012, 11:30:09 am
Right - I knew that the Library directory was for the Arduino IDE, but the instructions in the guide regarding it confused me.  It made me think that the Arduino IDE was going to also create and insert its default libraries there.  And then by some quirk of the whole X Code template situation, I might need to add (but not copy) those libraries so that the compiler can find everything.  In digging into the template though, I see that all default Arduino libs are actually included as part of the project. 

Anyhow, my mistake.  It seems this step is only relevant if one actually has additional libraries they want to include at the time of creating their project.

So just to make sure I understood everything so far, should the SKETCHBOOK_DIR be pointed at my ~/Documents/Arduino path (where the IDE identifies the Sketchbook and where Library will soon be) or the X Code project's Sketchbook directory?

Thanks again.
3  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: October 13, 2012, 04:57:39 pm
I've downloaded the latest guide and embedXcode after downloading the Arduino 1.0.1 IDE, but I'm a little lost as to where my Sketchbook\Libraries folder is (mentioned on page 23).  When I launched Arduino, it created a ~\Documents\Arduino directory, but seemingly nothing else.

I see in the guide and this forum that 1.0 is supposed to be supported, and with 1.0.1 being a minor point release, I figured perhaps it would be fine.  Is 1.0.1 not supported?

I loaded 1.0 and then re-ran the embedXcode installer.  I still have no "Library" or "Libraries" folder under that Sketchbook path.

Any ideas where I must have gone off the road?

Thank you all for your dedication and time.

Thomas
Pages: [1]