I am completely lost here, I have no idea what I am doing wrong. I am using Eclipse Mars using the Eclipse C++ Arduino extension. I am also using the COSA library, this is where the problem comes in. I can use all of the core COSA libraries but I can not figure out how to include the other libraries that are supplied with COSA specifically the ST7920.h file that is located in the libraries folder. Does anyone have any experience with this?
I have tried setting the path using the Project->C/C++ General->Preprocessor include paths and setting it there to no avail.
One thing that I am concerned about is in these separate libraries they are including files that are in other libs using only the header file, for example in the ST7920.hh file it has:
#include "Cosa/LCD.hh" #include <HD44780.h>
I need to configure things so that the HD44780.h file needs to be found also. That file is located at "../HD44780/HD44780.h". How do I tell the compiler to search the "libraries" folder for files?
Also I tried to simply add the libraries folder as a linked folder in my project, that also did not work.
the only code I have is the #include and the compiler come back with that it can't find the file.