joshmarinacci / ElectronIDE

New web based Arduino IDE
BSD 3-Clause "New" or "Revised" License
246 stars 50 forks source link

duplicate libs causes compile error #52

Open joshmarinacci opened 10 years ago

joshmarinacci commented 10 years ago

If you compile a sketch which uses a lib that another lib also uses, then the lib will get included twice, causing compile errors. ex:

including wire and adafruit_motorshield will fail to compile, because adafruit_motorshield also depends on wire.

Duplicate libs should be stripped before compiling.