Arduino Code says undefined reference to setup and loop

I've been working on some coding for a science project and I've been having some trouble, there is an error code that I don't quite understand the error codes that are occuring, I don't know much about coding so if you could explain in the simplest way, thank you (i attached my code)

This is the error message

Build options changed, rebuilding all
core.a(main.cpp.o): In function main': /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/main.cpp:40: undefined reference to setup'
/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/main.cpp:43: undefined reference to `loop'
collect2: error: ld returned 1 exit status
Error compiling.

Rube.ino (1.65 KB)

Your arduino code needs the functions setup() and loop(). Both are missing in your code.

You probably want to add something like

void setup()
{
  setupBlink();
  setupFade();
}

void loop()
{
  loopBlink();
  loopFade();
}