Open zerowidth opened 9 years ago
I am getting the same Argument list too long
and I can confirm that this patch fixes the problem.
I am using Mac OS X Yosemite 10.10.1
with Arduino 1.5.8
and latest ino
from git.
Also can confirm this patch fixes the problem on Arduino 1.6.0
and Yosemite 10.10.2
.
see #226 ?
Thanks for sharing.
With arduino 1.6.0 and this fix I got this error at line #include <LiquidCrystal.h>
:
fatal error: LiquidCrystal.h: No such file or directory
The file is located here and this patch excludes this. arduino-1.6.0/libraries/LiquidCrystal/src/LiquidCrystal.h
It was no problem with #226 fix. I'm using Ubuntu 14.10.
This PR is a fix for the issue with Arduino 1.5.8 installs causing problems with builds:
make: execvp: /bin/sh: Argument list too long
, seen in #111, #119, #121, and #168.Somehow,
src
directories are being added to the Resources/Java/libraries path in the Arduino.app distribution. For example (two lines out of thousands):This generates a remarkably enormous Makefile, because of all the
-I <libpath>
arguments, none of which are needed, and of course it won't run properly either.This PR fixes it by adding
src
to the excludes argument tolist_subdirs
.