How do I add Arduino libraries to Eclipse Project?

Caloyski picture Caloyski · Mar 14, 2015 · Viewed 10.6k times · Source

how do I add Arduino libraries to Eclipse Project? I just started playing with Intel Edison and have a Grove developer kit with an LCD that I can't use, because the library is missing.

enter image description here

Answer

mdude380 picture mdude380 · Mar 14, 2015

If you go to Project->Properties->C/C++ Build->Settings You can add a library under the appropriate compiler with -l and you can include directories for headers with -I under C/C++ General->Paths and Symbols under the includes tab.