-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: IDEThe Arduino IDEThe Arduino IDEType: DuplicateAnother item already exists for this topicAnother item already exists for this topic
Milestone
Description
When the arduino IDE is invoked in command line mode to compile a sketch, it does not reference the proper libraries.
When executed in GUI mode it does compile properly.
Either there is a "secret" argument that needs to be passed for the library manager to search in the correct location for a given package, or this is a bug:
/opt/arduino-1.6.5/arduino --verify -v --board esp8266:esp8266:generic --pref sketchbook.path=<path to sketchbook> <path to sketch>
Result:
Using library SPI in folder: /opt/arduino-1.6.5/hardware/arduino/avr/libraries/SPI
WARNING: library SPI claims to run on [avr] architecture(s) and may be incompatible with your current board which runs on [esp8266] architecture(s).
Metadata
Metadata
Assignees
Labels
Component: IDEThe Arduino IDEThe Arduino IDEType: DuplicateAnother item already exists for this topicAnother item already exists for this topic