Hello everybody !
I am using Arduino for the first time and I'm trying to program a CMUCAM4 captor able to follow a colored line.
Unfortunately, I have several errors.
Please find attached my program.
Here are my errors :
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\main.cpp: In function 'main':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\main.cpp:51:1: error: unable to find a register to spill in class 'NO_REGS'
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\main.cpp:51:1: error: this is the insn:
(insn 128 125 131 3 (set (mem:QI (post_dec:HI (reg/f:HI 32 SP_L)) [0 S1 A8])
(subreg:QI (reg/f:HI 163) 1)) C:\Program Files (x86)\Arduino\libraries\CMUcam4\CMUcam4.cpp:815 1 {pushqi1}
(expr_list:REG_ARGS_SIZE (const_int 17 [0x11])
(nil)))
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\main.cpp:51: confused by earlier errors, bailing out
lto-wrapper: C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
exit status 1
Thank you for helping me.
Melamiel.
sokandaio.ino (3.12 KB)