So, I am trying for the first time to operate a Nokia 5110 LCD using an ATMega328p. I managed to include the GLCD library in my solution by adding the directory path to the C++ compiler directories (see next picture)
and then defining any parameters before including the library's main C file on the top of my code. After I did that I realized that the text editor auto filled all the functions I wanted to use such as glcd_init() ... (see next picture)
The problem is as soon as I tried to compile I get "undefined reference" for each and every GLCD function I used.
It is the first time I try to import an external library and use it so I am pretty sure I have made an obvious mistake that I can't see or am not aware about. Could anyone more experienced help?