Arduino Build Problem
Posted: Fri Jun 10, 2016 8:11 am
Hi,
I'm trying to build the Blink example for Arduino that comes with ERIKA. I have installed the Arduino SDK, cygwin and Winavr packages, all in C:\. For the AVR8 settings in RT-Druid I have set the Gcc path to C:\winAVR\avr and the Arduino SDK path to C:\Arduino. When I clean and build my project I get the following error:
Does anybody have any fix for this? I really need to get an OSEK platform for Arduino UNO set up quickly. Thanks in advance for any help.
Regards,
Brendan
I'm trying to build the Blink example for Arduino that comes with ERIKA. I have installed the Arduino SDK, cygwin and Winavr packages, all in C:\. For the AVR8 settings in RT-Druid I have set the Gcc path to C:\winAVR\avr and the Arduino SDK path to C:\Arduino. When I clean and build my project I get the following error:
Code: Select all
"C:\\Users\\CMP\\workspace\\Brendan\\Debug\\make_launcher.bat" all
C:\cygwin\\bin\bash found!
Using erika files in /cygdrive/c/Evidence/plugins/COMEUE~4.201/ee_files
MAKE_DIRECTORIES
mkdir -p obj/ obj/hardware/arduino/cores/arduino/ obj/hardware/arduino/cores/arduino/avr-libc/ obj/pkg/cpu/avr8/src/ obj/pkg/cpu/common/src/ obj/pkg/kernel/fp/src/
printf "AR libarduinosdk.a\\n"; "C:\\WinAVR\\avr"/bin/avr-ar rcs libarduinosdk.a obj/hardware/arduino/cores/arduino/avr-libc/malloc.o obj/hardware/arduino/cores/arduino/avr-libc/realloc.o obj/hardware/arduino/cores/arduino/wiring.o obj/hardware/arduino/cores/arduino/wiring_digital.o obj/hardware/arduino/cores/arduino/wiring_analog.o obj/hardware/arduino/cores/arduino/wiring_pulse.o obj/hardware/arduino/cores/arduino/wiring_shift.o obj/hardware/arduino/cores/arduino/WInterrupts.o obj/hardware/arduino/cores/arduino/CDC.o obj/hardware/arduino/cores/arduino/HardwareSerial.o obj/hardware/arduino/cores/arduino/HID.o obj/hardware/arduino/cores/arduino/IPAddress.o obj/hardware/arduino/cores/arduino/new.o obj/hardware/arduino/cores/arduino/Print.o obj/hardware/arduino/cores/arduino/Stream.o obj/hardware/arduino/cores/arduino/Tone.o obj/hardware/arduino/cores/arduino/USBCore.o obj/hardware/arduino/cores/arduino/WMath.o obj/hardware/arduino/cores/arduino/WString.o
AR libarduinosdk.a
C:\WinAVR\avr\bin\avr-ar.exe: obj/hardware/arduino/cores/arduino/avr-libc/malloc.o: No such file or directory
make: *** [libarduinosdk.a] Error 1
19:59:14 Build Finished (took 8s.765ms)
Regards,
Brendan