France
Offline
Sr. Member
Karma: 7
Posts: 439
|
 |
« Reply #225 on: January 19, 2013, 04:03:07 pm » |
Yes, the OneWire library used to be incompatible with the chipKIT MPIDE IDE. Just remove OneWire from step1.mk file. New place for excluding libraries is the makefile file: # List the libraries to be excluded # For example, WiFi may crash on Arduino 1.0.2 # For example, Esplora may crash on Arduino 1.0.3 # For example, Firmata may crash on Teensy 3.0 # For example, OneWire may crash on MPIDE 0023 # EXCLUDE_LIBS = Firmata WiFi Esplora OneWire The template has been updated accordingly.
|
|
|
|
|
Logged
|
avenue33
|
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #227 on: February 04, 2013, 12:35:44 pm » |
Hello people, I'm new in this forum and also English isn't my first language so forgive me if I have some mistakes. I'm having problems with Xcode and user libraries, I follow every process of the manual( obviously I forgot something) but I couldn't make it build all. It's a small code that only uses the IRremote library just that. I was able to build all without the library, and then I added the files in the a sketchbook tree node on Xcode also in the index for code sensing(witch is working) but when I build all, Xcode complains aboud not finding the ir methods. I notice also something strange, in the arduino IDE we have the path library, but in embedxcode you have used Libraries, since Mac OS is caps oriented this has some issue, or I'm wrong? Thanks in advance Eduardo
|
|
|
|
|
Logged
|
|
|
|
|
France
Offline
Sr. Member
Karma: 7
Posts: 439
|
 |
« Reply #228 on: February 04, 2013, 12:54:40 pm » |
¡Bienvenido! Where the IR library is on the hard disk? The tree on the left pane is part link, part real files. - Have you run the Arduino IDE once and declared the SketchBook folder? —see §1.2. Install the IDEs of the Boards
- Is the IR library inside the library folder inside the sketchbook folder? —see §3.3. Add User's Libraries
- Is the IR library a user library —you've wrote it— or a standard library —supplied with Arduino? —see §5.2 Manage the Libraries for Compilation
If you new to the Arduino world, I'd recommend to go step-by-step and start with the standard Arduino IDE before switching to Xcode, which is a very rich IDE.
|
|
|
|
|
Logged
|
avenue33
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #229 on: February 04, 2013, 07:22:49 pm » |
Hi thanks for quick response. 1 yes I have worked with the arduino IDE and was able to compile everything and upload all the sketches to the board. 2 yes, the only think I have noticed is that, I'm using IDE 1.0.3, and inside my sketchbook folder (/Users/eduardo/Arduino) has the libraries folder, but low caps. on the documentation was Libraries
3 the library does not matter, I pickup just for try the NewPing library (a standard library)
4 No I'm not, even with Xcode I'm not a newbie, I just dont know it very well...
The errors are these one:
In file included from main.cpp:51: NewPing.ino:65: error: 'NewPing' does not name a type NewPing.ino: In function 'void loop()': NewPing.ino:73: error: 'sonar' was not declared in this scope NewPing.ino:75: error: 'US_ROUNDTRIP_CM' was not declared in this scope make: *** [Builds/main.o] Error 1
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #230 on: February 04, 2013, 07:49:16 pm » |
Hi to all again,
I did a search in all project, with Libraries and change everything to libraries.
Well this is sort a desperate measure, but it worked, I don't know, how do you are able to compile your libs like this, but it worked.
Everything is build and ok...
If anyone has an idea, I like to hear....
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #231 on: February 05, 2013, 03:43:32 pm » |
Hi,
I think this is a problem, or by my IDE in installation or the embedeXcode. I had mapped all the files that are required to everything build ok. Plus, I made a Duemilanove configuration.
If you guys want the codes, please ask.
|
|
|
|
|
Logged
|
|
|
|
|
France
Offline
Sr. Member
Karma: 7
Posts: 439
|
 |
« Reply #232 on: February 08, 2013, 09:52:45 am » |
Hi to all again,
I did a search in all project, with Libraries and change everything to libraries.
Well this is sort a desperate measure, but it worked, I don't know, how do you are able to compile your libs like this, but it worked.
Everything is build and ok...
If anyone has an idea, I like to hear....
Mac OS X offers two kinds of file format: case-sensitive and not case-sensitive. What's your configuration? On my MacBook, the folder for the user libraries is called ~/Documents/Projets/Arduino/Libraries , hence the Libraries with capital L.
|
|
|
|
|
Logged
|
avenue33
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #233 on: February 08, 2013, 05:06:02 pm » |
Mine is case-sensitive,
Interesting in your configuration you have a library directory with a capital L, in mine (the default from arduino IDE) is l.
Is this a configuration on the IDE? Maybe integrate this is a good idea.
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
France
Offline
Sr. Member
Karma: 7
Posts: 439
|
 |
« Reply #234 on: February 08, 2013, 05:26:48 pm » |
What are the advantages of having a case-sensitive file system?
|
|
|
|
|
Logged
|
avenue33
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #235 on: February 09, 2013, 10:08:40 am » |
I really don't have an answer for that, but is an option and I think there are some users using this out there...
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
France
Offline
Sr. Member
Karma: 7
Posts: 439
|
 |
« Reply #236 on: February 28, 2013, 12:10:36 pm » |
Please find a new release of embedXcode: embedXcode • Feb 28, 2013 release 29 • Support for Digispark (build and link tested)The Digispark by Digistump is an incredibly small —0,69x0,75" or 17,5x19,0mm only— but fully featured board —with I²C, SPI, ADC or PWM!  More tests are required for the upload as the process is not standard.  As always, • Website: http://embedxcode.weebly.com• Download: http://embedxcode.weebly.com/download• User guide: http://embedxcode.weebly.com/tutorialEnjoy 
|
|
|
|
|
Logged
|
avenue33
|
|
|
|
France
Offline
Sr. Member
Karma: 7
Posts: 439
|
 |
« Reply #237 on: March 05, 2013, 10:40:56 am » |
Please find a new release of embedXcode: embedXcode • Mar, 05 2013 release 30 • Full support for DigisparkembedXcode • Mar, 05 2013 release 31 • Automatic project configurationThanks to the Digispark boards received from Digistump, I ran the tests for the upload. build, link and upload work fine now.  Enjoy the power of a square inch! The automatic project configuration procedure saves a lot of time. Before, a newly created project used to require many manual procedures, like declaring the .ino or .pde sketch file as C++ code file for colour syntaxing, or defining the directories for click-to-error, ... Now, you need just a click!  This new automatic project configuration works for all the supported platforms: Arduino, chipKIT, Digispark, LaunchPad MSP430 + FRAM + Stellaris, Maple and Wiring. As always: • Website: http://embedxcode.weebly.com• Download: http://embedxcode.weebly.com/download• User guide: http://embedxcode.weebly.com/tutorialEnjoy 
|
|
|
|
« Last Edit: March 05, 2013, 10:46:17 am by avenue33 »
|
Logged
|
avenue33
|
|
|
|
France
Offline
Sr. Member
Karma: 7
Posts: 439
|
 |
« Reply #238 on: March 10, 2013, 06:09:22 am » |
I'm presently working on extending the automatic project configuration to include all the manual procedures, except for adding the user's libraries.  The major challenge is to understand how Xcode stores and structures the configuration of a project. Stay tuned 
|
|
|
|
|
Logged
|
avenue33
|
|
|
|
France
Offline
Newbie
Karma: 0
Posts: 18
|
 |
« Reply #239 on: March 13, 2013, 05:52:40 pm » |
Hi,
I've exactly the same problem as eduardorcosta.
I've Arduino IDE 1.5 on Mountain Lion (case-insensitive system). It automatically create a folder "libraries" (with a lower L).
I installed embedxcode exactly like in the documentation. I can build and upload to my Arduino board. But when I need a local library, it didn't work. When I build I become the following errors:
error: ble.h: No such file or directory error: 'ble_begin' was not declared in this scope
To add libraries, I follow the guide at § 3.2.3. If I try to change the Sketchbook libraries folder to "Libraries" (with upper L), the Arduino IDE doesn't compile anymore, and under xcode I become the following errors when compiling:
(all error for the app.cpp file,a file from the BLE library)
/Documents/Arduino/Libraries/BLE/app.cpp:17:22: Services.h: No such file or directory /Documents/Arduino/Libraries/BLE/app.cpp:18:21: error: lib_aci.h: No such file or directory /Documents/Arduino/Libraries/BLE/app.cpp:46: error: 'lib_aci_device_wakeup' was not declared in this scope /Documents/Arduino/Libraries/BLE/app.cpp:56: 'lib_aci_send_setup_msg' was not declared in this scope and 11 more errors…
It would be really great if somebody knows a solution for this problem.
Thanks a lot! Kass
|
|
|
|
|
Logged
|
|
|
|
|
|