Happy83 / M5Watch

M5StickC watch
18 stars 3 forks source link

Error compiling for board M5Stick-C. #2

Open caljanettemp opened 4 years ago

caljanettemp commented 4 years ago

Here's my compile errors:

Arduino IDE version: 1.8.12 for Mac OSX Board M%Stick-C Upload speed 115200 Partition Schème No Ota

Arduino: 1.8.12 (Mac OS X), Board: "M5Stick-C, Default, 115200, None"

Arduino: 1.8.12 (Mac OS X), Board: "M5Stick-C, Default, 115200, None"

Multiple libraries were found for "EEPROM.h" /Users/puceta/Documents/Arduino/libraries/library/M5WatchLcd.cpp:5:26: fatal error: Arduino_JSON.h: No such file or directory Used: /Users/puceta/Documents/Arduino/hardware/espressif/esp32/libraries/EEPROM

include

Not used: /Users/puceta/Documents/Arduino/libraries/EEPROM ^ Multiple libraries were found for "Wire.h" compilation terminated. Used: /Users/puceta/Documents/Arduino/hardware/espressif/esp32/libraries/Wire Not used: /Users/puceta/Documents/Arduino/libraries/ZZZZWire Not used: /Users/puceta/Documents/Arduino/libraries/Wire Multiple libraries were found for "SPI.h" Used: /Users/puceta/Documents/Arduino/hardware/espressif/esp32/libraries/SPI Not used: /Users/puceta/Documents/Arduino/libraries/ZZZSPI Not used: /Users/puceta/Documents/Arduino/libraries/SPI exit status 1 Error compiling for board M5Stick-C.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

Happy83 commented 4 years ago

Hi,

it looks you don't have Arduino JSON library. https://github.com/arduino-libraries/Arduino_JSON

---------- Původní e-mail ---------- Od: caljanettemp notifications@github.com Komu: Happy83/M5Watch M5Watch@noreply.github.com Datum: 7. 7. 2020 1:08:41 Předmět: [Happy83/M5Watch] Error compiling for board M5Stick-C. (#2) "

Here's my compile errors:

Arduino IDE version: 1.8.12 for Mac OSX Board M%Stick-C Upload speed 115200 Partition Schème No Ota

Arduino: 1.8.12 (Mac OS X), Board: "M5Stick-C, Default, 115200, None"

Arduino: 1.8.12 (Mac OS X), Board: "M5Stick-C, Default, 115200, None"

Multiple libraries were found for "SPI.h" Used: /Users/puceta/Documents/Arduino/hardware/espressif/esp32/libraries/SPI Not used: /Users/puceta/Documents/Arduino/libraries/SPI Not used: /Users/puceta/Documents/Arduino/libraries/ZZZSPI Multiple libraries were found for "EEPROM.h" Used: /Users/puceta/Documents/Arduino/hardware/espressif/esp32/libraries/ EEPROM Not used: /Users/puceta/Documents/Arduino/libraries/EEPROM Multiple libraries were found for "Wire.h" Used: /Users/puceta/Documents/Arduino/hardware/espressif/esp32/libraries/ Wire Not used: /Users/puceta/Documents/Arduino/libraries/Wire Not used: /Users/puceta/Documents/Arduino/libraries/ZZZZWire /Users/puceta/Documents/Arduino/libraries/library/M5WatchLcd.cpp:5:26: fatal error: Arduino_JSON.h: No such file or directory

include

^

compilation terminated. exit status 1 Error compiling for board M5Stick-C.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/Happy83/M5Watch/issues/2), or unsubscribe (https://github.com/notifications/unsubscribe-auth/ACEXBLAHYF35IKNIKHT2YRDR2JKPFANCNFSM4OSBRCAA) . "

caljanettemp commented 4 years ago

Thanks for your comment. I have the JSON lib in: espressif/esp32/libraries

"Multiple libraries were found for "EEPROM.h" /Users/puceta/Documents/Arduino/libraries/library/M5WatchLcd.cpp:5:26: fatal error: Arduino_JSON.h: No such file or directory Used: /Users/puceta/Documents/Arduino/hardware/espressif/esp32/libraries/EEPROM

include

Not used: /Users/puceta/Documents/Arduino/libraries/EEPROM"