When I say 'add to the project', that does not mean to include it in a source code file. It means add it like described in the link I gave.
I think perhaps you need to take a step back and get up to speed on what all these .h, .cpp and .a files are for, and the basic steps to compiling a program in general.
I think perhaps you need to take a step back and get up to speed on what all these .h, .cpp and .a files are for, and the basic steps to compiling a program in general.