You are not logged in.
Hi,
I'm trying to compile an arduino sketch using ino. I'm also using a custom library called TimerOne which I've installed to ~/sketchbook/libraries and even the normal arduino IDE is able to link and compile it.
But if I try to build it with ino, it keeps telling me this:
user@host$ ino build
src/sketch.cpp
.build/uno/src/sketch.cpp:3:22: error: TimerOne.h: No such file or directory
src/sketch.ino: In function ‘void setup()’:
src/sketch.ino:41: error: ‘Timer1’ was not declared in this scope
.build/uno/Makefile:189: recipe for target '.build/uno/src/sketch.o' failed
make: *** [.build/uno/src/sketch.o] Error 1
Make failed with code 2
Then I tried to copy the TimerOne library directly to the lib folder of my ino-project, which didn't help.
I also tried to specify the lib folder using "ino build -d ~/sketchbook/libraries/" but it failed too.
I've read the documentation and help files of ino, but I can't figure out how to tell ino to use the library correctly.
I'm a little bit confused, does anybody know what I'm doing wrong?
Offline