Go Down

Topic: error compiling for arduino mkrzero  (Read 973 times) previous topic - next topic

sieunsieun

hi,


im challenging wave play back with my arduino mkrzero,
(https://www.arduino.cc/en/Tutorial/ArduinoSoundWavePlayback)
and i have a probelm



error message here,


******************



Arduino: 1.8.9 (Mac OS X), Board: "Arduino MKRZERO"

Build options changed, rebuilding all
core/core.a(main.cpp.o): In function `main':
/Users/yangsieun/Library/Arduino15/packages/arduino/hardware/samd/1.8.1/cores/arduino/main.cpp:51: undefined reference to `loop'
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino MKRZERO.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.







**************

i've updated the board, but no solution.
in sure, i cannot understand the error massage..what i have to do?

pert

Every sketch must have a setup and loop function. This error means your sketch does not have a loop function. Since the code in the tutorial does have a loop function, it's clear you failed to copy and paste it correctly. Try again.

Go Up