I try to get the GestIC library from microchip working on the Edison. I have already been able to use the makefile in the GestIC SDK to build the example applications in Yocto on the Edison (after installing some extra stuff...) and that works with the Hillstar development board connected to the Edison through the OTG micro USB connection. (running the application while being ssh-ed into the Edison).
The next step is to make my own application and I wanted to do that using the Eclipse IDE for development. I have tried a few example programs in the IDE and that works.
I have been breaking my head now for a few weeks to get the GestIC package working in Eclipse but to no avail thus far.
I have included the header files folder into the includes of the project. Furthermore I have included the paths to both the header files and the library...
Still the compiler can't find the header files while they are in plain side in the includes:
The most simple program to see if the GestIC works is this one:
printf("Using the GestIC SDK %s\n", gestic_version_str());
And the result:
../src/gestICconnect.c:1:24: fatal error: gestic_api.h: No such file or directory
I have been searching and searching and came across this post in the community that has now been closed:
This seems to suggest that I should make the used files part of the image that is used by Eclipse. The method to accomplish that is described for Windows while I am on Mac and the include folders in eclipse are greyed out in my case.
Should I copy the files to the suggested folder in the Docker image? I don't know how to change the Docker file and then make sure that that new image is used by Eclipse without screwing things up...
Of course the files are already on the Edison itself... Maybe there is a way to let the Docker image reflect what is actually on the Edison so I can then link to it?
I would rather link the files just from my computer. Any help in accomplishing that is welcomed as well....
I hope my question is clear.