I'm trying to write a program, for an exercise, that uses a static library - .a and .h files provided by the school. I followed my logic and answers I saw here, and added the .a file in the project's Properties -> Build -> Linker -> libraries. The program #includes the file with "file.h", and all files are in the same folder.
Although everything appears to be in order and the console shows that the .a file is added to the linker command, I get 'undefined reference to (functions from library)' errors.
Please help!
Check this about what parameters you have to pass during the linking