matti157:
the software works perfectly, but I commented several rows in arduino robot that blocked compilation. Is this normal?
thank you very much!
Yes, it is.
Actually, it depends on which lines you have commented. For example, commenting an #include "library_name.h" may raise an error if the library is required.
embedXcode • Jun 30, 2013 release 55 • User Manual as E-Book
The User Manual is now a free e-book to be available on the iBookStore, allowing a much lighter installation package. The iBook is awaiting validation.
Dealing with iBooks Author has been especially painful and slow, due to my old Mac.
Today I've downloaded and installed the release 55 of your package for Xcode (release 4.6.3) on a MBP with Mountain Lion installed (rev. 10.8.4). I'm using Arduino IDE 1.0.5 without any problems.
I've followed instructions in Zulkarnine video's, but when I try to compile the default project, I got a lot of errors. It seems like Xcode doesn't find Arduino libraries or some project files.
The first error is on line 38 of LocalLibrary.h:
#include "WProgram.h"
'WProgram.h' file not found
but Xcode does not report any error on lines 24, 30 and 32 with the same code.
Then, trying building the project, I got a lot of errors on file ArduinoRobot.cpp, where Xcode reports a lot of "XXXX was not declared in this scope" on line 6, 8, 18, 19, 22 and 25, as you can see in attached image
If I comment those lines, Xcode reports the same errors in Sensors.cpp
Any ideas or suggestions for me?
Thanks for your time and your work.
riccardobianchi:
Today I've downloaded and installed the release 55 of your package for Xcode (release 4.6.3) on a MBP with Mountain Lion installed (rev. 10.8.4). I'm using Arduino IDE 1.0.5 without any problems.
Thank you for the details. I'm using the same software configuration.
riccardobianchi:
I've followed instructions in Zulkarnine video's, but when I try to compile the default project, I got a lot of errors. It seems like Xcode doesn't find Arduino libraries or some project files.
The first error is on line 38 of LocalLibrary.h:
#include "WProgram.h"
'WProgram.h' file not found
but Xcode does not report any error on lines 24, 30 and 32 with the same code.
Lines 38 et sq. are only called if the Arduino release is prior to 1.0, i.e. 23:
I don't experience any error with the pre-processing statements with the same software configuration.
riccardobianchi:
Then, trying building the project, I got a lot of errors on file ArduinoRobot.cpp, where Xcode reports a lot of "XXXX was not declared in this scope" on line 6, 8, 18, 19, 22 and 25, as you can see in attached image
If I comment those lines, Xcode reports the same errors in Sensors.cpp
Any ideas or suggestions for me?
Thanks for your time and your work.
Please refer to my previous post for the solution.
Hi avenue33,
There is something wrong when preparing the project with ver.57. The "External Build Tool Configuration" seems to be unchanged after the first preparation.
jimaobian, thank you for noticing me. Could you please check this new release solves the issue you reported?
I want to thanks all contributors and stress the importance of your help to continue this project, as Xcode 5 and OS X Mavericks are to require updating my old Mac.
I am having difficulties to use User Library files with EmbedXCode.
I set the path in Arduino preferences (Arduino 1.5b2 finds the libs I add, letting me thing I've done this correctly)
Bascialy, when I include a file with #include <SdFat.h> for example, it does not find it.
Also and it may be related to my problem, when I add .cpp and .h files in a subfolder in my project, they do not get compiled either.
Anyone a clue ?
EDIT : Found the problem to be a space in the arduino sketchbook folder...
rderimay:
EDIT : Found the problem to be a space in the arduino sketchbook folder...
Thank you for reporting the issue and for sharing the cause...
Space in project, library, sketchbook folder names aren't recommended, as for the Arduino IDE. I've been working very hard on last releases the manage a volume name with a space...
Anyway, avoid names with space as much as possible!
Now I am facing another problem when compiling.
I want to use the SdFat Library (Google Code Archive - Long-term storage for Google Code Project Hosting.)
They define a const (uint8_t const SD_CHIP_SELECT_PIN) at 2 different places (once in SdSpi.h and once in Sd2Card.h)
Their examples compile without problems in Arduino IDE but not in EmbedXCode.