Undefined reference.


I imported an Arduino sketch in Atmel studio 7.0.

The timers are not working as expected, but now I have another issue.

I wanted to include some files from a previous project I wrote in C in Atmel Studio.

I was getting a bunch of "undefined reference to " from the C files.

I ended up putting all the C files in the same directory as the sketch but I am still getting all these errors.

Any ideas how to work around that?


Without the code? Nope, haven't a clue.


I solved it.

The problem was that I was adding the files in the solution rather than the project itself.
I don't know why they are giving the choice to add files in the solution if it doesn't work.

Thanks all.