I’ve created my own library from some code that works and I thought would be useful to re-use. I’m using an Apple Mac. I created a folder of the same name as the library in:
we’ll call it:
which is where I have a couple of other libraries I imported. I created the deque.h file (it’s a templated class so no .cpp file). I also created a keywords.txt file.
Re-started Auduino IDE, and the new library is listed. I can ‘include the library’ from the ‘sketch’ menu. But when I compile I get:
Arduino: 1.6.5 (Mac OS X), Board: “Arduino/Genuino Uno”
In file included from Controller.cpp:1:0:
Controller.h:1:19: fatal error: deque.h: No such file or directory
This report would have more information with
“Show verbose output during compilation”
enabled in File > Preferences.
Any idea what I need to do to correct this error? But the file does exist!