Functions are listed as an undefined reference causing errors

Hi,

I’m following along this tutorial setting up a project in Freedom Studio, and it occurred to me that there isn’t a button to run my program in the toolbar, and the ‘run’ symbol here doesn’t appear to be for the same functionality.

FreedomStudio is also returning the error message that this is an “undefined reference to add” when I’m defining add as below:

I’m following along this tutorial

What tutorial?

and it occurred to me that there isn’t a button to run my program in the toolbar, and the ‘run’ symbol here doesn’t appear to be for the same functionality.

What exactly do you mean?

FreedomStudio is also returning the error message that this is an “undefined reference to add” when I’m defining add as below:

Impossible to say why without a proper/build log to see what exactly is getting compiled/linked and how.