Undefined reference to 'loop' and 'setup' and collect2.exe error

Project’s link on github: https://github.com/SaV91/LaserTagGame.git

Full error :
(warning)
C:\Users\salau\AppData\Local\Temp\ccsbMZXW.ltrans0.ltrans.o: In function main': <artificial>:(.text.startup+0xe0): undefined reference to setup’
:(.text.startup+0xe4): undefined reference to `loop’
(error)
collect2.exe: error: ld returned 1 exit status
[.pio\build\nanoatmega328\firmware.elf] Error 1

Thanks

Cheers,
Norm.

1 Like