Thank you for your reply colin.
I am running ubuntu, I tried rake -T and i didn't see a rake task like
you mentioned, unless I am misunderstanding what you mean.
So I followed along with the steps in the LinuxInstaller.rb and as you
said there were steps that the other guides missed, however I still
got the same result.
cd /usr/local/arduino-0015/sketchbook/my_sketch/my_sketch; make upload
/usr/local/arduino-0015/hardware/tools/avr/bin/avrdude -F -p
atmega328p -P /dev/tty.usbserial* -c stk500 -b 19200 -C /usr/local/
arduino-0015/hardware/tools/avr/etc/avrdude.conf -U
flash:w:my_sketch.hex
/bin/sh: /usr/local/arduino-0015/hardware/tools/avr/bin/avrdude: not
found
make: *** [upload] Error 127
I know that avrdude is linked, I am looking right at it.
Here is the trace:
steve@steve-laptop:/usr/local/arduino-0015/sketchbook/my_sketch$ sudo
rake make:upload --trace
(in /usr/local/arduino-0015/sketchbook/my_sketch)
/usr/local/arduino-0015/sketchbook/my_sketch/vendor/rad/init.rb:8:
warning: already initialized constant PLUGIN_C_VAR_TYPES
** Invoke make:upload (first_time)
** Invoke make:compile (first_time)
** Invoke make:clean_sketch_dir (first_time)
** Invoke build:file_list (first_time)
** Execute build:file_list
** Invoke build:sketch_dir (first_time)
** Invoke build:file_list
** Execute build:sketch_dir
mkdir -p /usr/local/arduino-0015/sketchbook/my_sketch/my_sketch
** Execute make:clean_sketch_dir
rm /usr/local/arduino-0015/sketchbook/my_sketch/my_sketch/
my_sketch.hex
rm /usr/local/arduino-0015/sketchbook/my_sketch/my_sketch/core.a
rm /usr/local/arduino-0015/sketchbook/my_sketch/my_sketch/
my_sketch.elf
rm /usr/local/arduino-0015/sketchbook/my_sketch/my_sketch/Makefile
** Invoke build:sketch (first_time)
** Invoke build:file_list
** Invoke build:sketch_dir
** Invoke build:gather_required_plugins (first_time)
** Execute build:gather_required_plugins
0 of 17 plugins are being loaded:
** Invoke build:plugin_setup (first_time)
** Execute build:plugin_setup
** Invoke build:setup (first_time)
** Execute build:setup
** Execute build:sketch
** Execute make:compile
cd /usr/local/arduino-0015/sketchbook/my_sketch/my_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; \
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-gcc -M -
mmcu=atmega328p -DF_CPU=16000000 -I/usr/local/arduino-0015/hardware/
cores/arduino -I/usr/local/arduino-0015/hardware/libraries/
SoftwareSerial /usr/local/arduino-0015/hardware/cores/arduino/
pins_arduino.c /usr/local/arduino-0015/hardware/cores/arduino/
wiring.c /usr/local/arduino-0015/hardware/cores/arduino/
wiring_analog.c /usr/local/arduino-0015/hardware/cores/arduino/
wiring_digital.c /usr/local/arduino-0015/hardware/cores/arduino/
wiring_pulse.c /usr/local/arduino-0015/hardware/cores/arduino/
wiring_serial.c /usr/local/arduino-0015/hardware/cores/arduino/
wiring_shift.c /usr/local/arduino-0015/hardware/cores/arduino/
WInterrupts.c >> Makefile
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-ar rcs core.a /usr/
local/arduino-0015/hardware/cores/arduino/pins_arduino.o
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-ar rcs core.a /usr/
local/arduino-0015/hardware/cores/arduino/wiring.o
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-ar rcs core.a /usr/
local/arduino-0015/hardware/cores/arduino/wiring_analog.o
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-ar rcs core.a /usr/
local/arduino-0015/hardware/cores/arduino/wiring_digital.o
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-ar rcs core.a /usr/
local/arduino-0015/hardware/cores/arduino/wiring_pulse.o
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-ar rcs core.a /usr/
local/arduino-0015/hardware/cores/arduino/wiring_serial.o
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-ar rcs core.a /usr/
local/arduino-0015/hardware/cores/arduino/wiring_shift.o
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-ar rcs core.a /usr/
local/arduino-0015/hardware/cores/arduino/WInterrupts.o
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-ar rcs core.a /usr/
local/arduino-0015/hardware/cores/arduino/HardwareSerial.o
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-ar rcs core.a /usr/
local/arduino-0015/hardware/libraries/SoftwareSerial/SoftwareSerial.o
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-ar rcs core.a /usr/
local/arduino-0015/hardware/cores/arduino/Print.o
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-gcc -
mmcu=atmega328p -I. -gstabs -DF_CPU=16000000 -I/usr/local/arduino-0015/
hardware/cores/arduino -I/usr/local/arduino-0015/hardware/libraries/
SoftwareSerial -Os -Wall -Wstrict-prototypes -std=gnu99 -o
my_sketch.elf my_sketch.cpp -L. core.a -lm
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu99" is valid for C/ObjC
but not for C++
my_sketch.cpp: In function ‘void loop()’:
my_sketch.cpp:84: warning: statement has no effect
/usr/local/arduino-0015/hardware/tools/avr/bin/avr-objcopy -O ihex -
R .eeprom my_sketch.elf my_sketch.hex
** Execute make:upload
cd /usr/local/arduino-0015/sketchbook/my_sketch/my_sketch; make upload
/usr/local/arduino-0015/hardware/tools/avr/bin/avrdude -F -p
atmega328p -P /dev/tty.usbserial* -c stk500 -b 19200 -C /usr/local/
arduino-0015/hardware/tools/avr/etc/avrdude.conf -U
flash:w:my_sketch.hex
/bin/sh: /usr/local/arduino-0015/hardware/tools/avr/bin/avrdude: not
found
make: *** [upload] Error 127
rake aborted!
Command failed with status (2): [cd /usr/local/arduino-0015/sketchbook/
my_s...]
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:in `sh'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in `sh'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1094:in `sh'
/usr/local/arduino-0015/sketchbook/my_sketch/vendor/rad/tasks/
build_and_make.rake:49
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
`invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19
I really hope we can figure this out soon, I have to get this going
for a project for school >.<
If I can't get working soon I think I'm gonna have to give up on rad
for now :(.
Anyway thank you for your time, hope to hear from you soon.
On Jun 11, 11:05 am, colin h <
qzz...@gmail.com> wrote:
> if you are using ubuntu, there is a rake task to handle the
> installation for you. ( run "rake -T" to see all rake tasks ) if not,
> then you can follow along and confirm that the same steps are taken on
> your system.
>
> to get a functional system, i had to do a number of extra steps not
> listed in that installation guide you linked to.
>
> Here is the file that lists the steps for a functional linux system
>
>
http://github.com/atduskgreg/rad/blob/16d82d37d59100d8d144e0673171a87...