I have one question about linking the libary files.
I created a new class (testlib.cpp and testlib.h file) in the Arduino IDE. The structure auf an arduino-libary is:
Libary: root/src/testlib.cpp and root/src/testlib.h Example: root/examples/test.ino Keywords: root/keywords.txt
Example of this structure: https://github.com/arduino-libraries/Stepper
I would like to use the #include "testlib.h" an i wouldn't like to use the #include "PATH/testlib.h".
When i will use this structure, i have problems to find the files in the IDE. It will run when the libary- and example files are in the same folder.
I think this is a linking-problem. i searched in google and find some answers, but these are not helpful: write a make-file (only Linux?) get cmake on github.
I think this is a linking-problem. i searched in google and find some answers as
write a make-file (only Linux?) get cmake on github.
I hope somebody can help me about his problem!