amperka / ino

Command line toolkit for working with Arduino hardware
http://inotool.org
MIT License
1.08k stars 232 forks source link

stuck scanning dependencies #120

Open kc8hfi opened 11 years ago

kc8hfi commented 11 years ago

I built a project that uses the CmdMessenger library from http://playground.arduino.cc/Code/CmdMessenger. This library uses the Streaming library from http://arduiniana.org/libraries/streaming/. I've put these two libraries into the lib dir of the project. When I execute "ino build", it gets stuck "Scanning dependencies of Streaming".

I tried out the arduino ide with this same sketch and it compiled successfully. I'd rather use ino to build my programs though.

ilovetogetspamed commented 10 years ago

Ditto for me. I'm using a symbolic link to the streaming folder under ~/sketchbook/libraries/Streaming. Not that that should matter.

I'm guessing it has to do with all the redirection "<<" symbols in Streaming.h. Your parser is probably puking on them.

just on a hunch, I tried using "Ctrl-D" (end-of-transmission character) at the shell when ino seemed to be hung on "Scanning dependencies of Streaming". This let the script continue and ino finished compiling my sketch w/o further issues. Sort of verifies there's a problem with your ino parser.

The complied sketch worked fine on my mega.