You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same problem. When I looked into it, it seems that RAD did not make the Ruby 1.9 transition. I have been able to get past that error by using ruby 1.8.7. I used RVM to create a local ruby 1.8.7(or ree) in my RAD project root directory.
after you make the local 1.8.7 environment you will have to locally install RAD, ruby2c and ParseTree. Also, I think you have to install ParseTree 2.2.0 to work with RAD. The latest versions do not work. After doing that I now get this error
rm /home/jeremy/blink_sketch/blink_sketch/Makefile
1 of 17 plugins are being loaded: blink.rb
cd /home/jeremy/blink_sketch/blink_sketch; make depend; make
if grep '^# DO NOT DELETE' Makefile >/dev/null;
then
sed -e '/^# DO NOT DELETE/,$d' Makefile >
Makefile.$$ &&
mv -f Makefile.$$ Makefile;
fi
echo '# DO NOT DELETE THIS LINE -- make depend depends on it.'
>> Makefile;
/Applications/arduino-0012/hardware/tools/avr/bin/avr-gcc -M -mmcu=atmega168 -DF_CPU=16000000 -I/Applications/arduino-0012/hardware/cores/arduino -I/Applications/arduino-0012/hardware/libraries/SoftwareSerial /Applications/arduino-0012/hardware/cores/arduino/pins_arduino.c /Applications/arduino-0012/hardware/cores/arduino/wiring.c /Applications/arduino-0012/hardware/cores/arduino/wiring_analog.c /Applications/arduino-0012/hardware/cores/arduino/wiring_digital.c /Applications/arduino-0012/hardware/cores/arduino/wiring_pulse.c /Applications/arduino-0012/hardware/cores/arduino/wiring_serial.c /Applications/arduino-0012/hardware/cores/arduino/wiring_shift.c /Applications/arduino-0012/hardware/cores/arduino/WInterrupts.c >> Makefile
/bin/sh: 3: /Applications/arduino-0012/hardware/tools/avr/bin/avr-gcc: not found
make: *** [depend] Error 127
make: *** No rule to make target /Applications/arduino-0012/hardware/cores/arduino/pins_arduino.o', needed bycore.a'. Stop.
rake aborted!
Command failed with status (2): [cd /home/jeremy/blink_sketch/blink_sketch;...]
(See full trace by running task with --trace)
jeremy@ubuntu:~/blink_sketch$
I have yet to solve that problem, but if I figure it out I will post the solution here.
I try to load my sketch into arduino board but it throws this error rake make:upload --no such file to load vendor/rad/init.rb
hardware.yml
serial_port: /dev/ttyACM0
mcu: atmega328
physical_reset: false
software.yml
arduino_root: /home/rolando/Descargas/arduino-1.0
The text was updated successfully, but these errors were encountered: