Arduino Build Problem

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
Posts: 5
Joined: Thu Jun 09, 2016 8:03 pm

Arduino Build Problem

Post by bjackman » Fri Jun 10, 2016 8:11 am

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
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)
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.


Posts: 864
Joined: Thu Dec 07, 2006 12:11 pm

Re: Arduino Build Problem

Post by paolo.gai » Fri Jun 10, 2016 8:53 am

It could be because you are using an Arduino version newer than the one supported.

To quick start, please download and use the virtual machine we distribute on:
Use the second one for Arduino and STM32. That one simply works out of the box.



Post Reply