Quote from: ScottG on Apr 22, 2013, 07:18 pmCan you tell me exactly where on github you have release 43 & 44 .pkg files. I looked and couldn't find them. Maybe it would help if we knew which release was the first on to give me this problem.The log with all changes is available at http://github.com/rei-vilo/embedXcode/commits/master
Can you tell me exactly where on github you have release 43 & 44 .pkg files. I looked and couldn't find them. Maybe it would help if we knew which release was the first on to give me this problem.
I just downloaded the latest release, which I'm pretty sure is r45. I created a new project on my local hard drive. When I run Build, it says it's successful, but I get an error that says" Workspace Integrity. Couldn't load project" and the project is not loaded. See screenshots.
I don't know why, but this problem is gone. New projects are building normally now.
7.2-LINK: .elf < . mega2560 Builds/ ./Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -mmcu=atmega2560 -lm -Wl,--gc-sections -Os -o Builds/embeddedcomputing.elf Builds/LocalLibrary.o Builds/main.o Builds/embeddedcomputing.a -lcBuilds/embeddedcomputing.a(MarlinSerial.o): In function `__vector_25':/Users/my/Documents/Arduino/libraries/Marlin/MarlinSerial.cpp:54: multiple definition of `__vector_25'Builds/embeddedcomputing.a(HardwareSerial.o):/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/Arduino/HardwareSerial.cpp:118: first defined hereBuilds/embeddedcomputing.a(MarlinSerial.o):(.bss.rx_buffer+0x0): multiple definition of `rx_buffer'Builds/embeddedcomputing.a(HardwareSerial.o):/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/Arduino/HardwareSerial.cpp:113: first defined here/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld: Warning: size of symbol `rx_buffer' changed from 68 in Builds/embeddedcomputing.a(HardwareSerial.o) to 132 in Builds/embeddedcomputing.a(MarlinSerial.o)make: *** [Builds/embeddedcomputing.elf] Error 1
EXCLUDE_LIBS = HardwareSerial
I created a project in Xcode and everything works fine. I wanted to open it in the Arduino IDE and compile it, but the problem is since main.cpp is in the same directory as my .ino file, Arduino IDE opens up main.cpp as as tab. When I try to compile I get an error because main.cpp isn't needed by the Arduino IDE. Any suggestion as to getting around this?
I have a library called panstamp.h that won't compile in xcode. The problem is PRR isn't defined. It compiles fine in the Arduino IDE. PRR is defined in Arduino's library iom328p.h
embedXcode is provided with the path to the tool-chain and no specific operation is carried out concerning one specific file. It is really strange as other files are used. I need the code of the project to investigate and see what's happening.
The only solution is to create another folder with the name of the sketch (eg. embed1) and copy the main sketch .ino and all the .h .cpp except main.cpp.
#ifdef XCODE_IS_COMPILING#include "MyNewProject.ino"#endif
Quote from: avenue33 on Apr 28, 2013, 08:49 amembedXcode is provided with the path to the tool-chain and no specific operation is carried out concerning one specific file. It is really strange as other files are used. I need the code of the project to investigate and see what's happening. It happens when creating a new project. Just put the panstamp library in your libraries folder and create a new project and you should get the same error. Panstamp library is located here:http://code.google.com/p/panstamp/downloads/detail?name=panstamp_arduino_1.0.zip&can=2&q=
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16