amperka / ino

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

Compilation fails when adding includes #218

Open uino opened 9 years ago

uino commented 9 years ago

If I compile a project then add an include to my source code, then "ino build" fails with a message of the form "cannot find newheader.h". Would it be possible to catch this error and reattempt once the compilation after a "make clean"? This would be very helpful.

Thanks!

mathvav commented 9 years ago

Where are you putting the library?

I have to have a folder structure like this:

I run the ino command in the root of the folder. Does this help?

uino commented 9 years ago

More precisely, the problem arises when you rename a folder in the "lib" folder.

To reproduce the bug:

I know it's not so common to rename libraries, but it happens.

Thanks.