Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build problem #25

Open
pilot1981 opened this issue Jul 9, 2019 · 4 comments · May be fixed by #37
Open

build problem #25

pilot1981 opened this issue Jul 9, 2019 · 4 comments · May be fixed by #37

Comments

@pilot1981
Copy link

Hi,
using suggested Visual studio Code, I obtain this error during build task:

src/main.cpp:1:10: fatal error:
'Arduino.h' file not found
#include <Arduino.h>

I need to download libraries from other repository?

@mrgluek
Copy link

mrgluek commented Jul 9, 2019

did your set your board in platformio.ini? ([env:...])
also i need to change lib_deps to:

lib_deps =
  RemoteDebug
  PubSubClient
  ArduinoJson@~5.13.4,!=6

@pilot1981
Copy link
Author

yes, I tried to setup "esp01" board....

so I need to wait your change in code in GitHub?

@pilot1981
Copy link
Author

today, I tried to use arduino IDE v.1.8.9 and build command return this error:

Arduino:1.8.9 (Mac OS X), Scheda:"Generic ESP8266 Module, 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), ck, 26 MHz, 40MHz, QIO (fast), 512K (no SPIFFS), 2, nonos-sdk 2.2.1 (legacy), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

main:408:11: error: StaticJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
StaticJsonBuffer<200> jsonBuffer;
^
exit status 1
StaticJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

Questo report potrebbe essere più ricco di informazioni abilitando l'opzione
"Mostra un output dettagliato durante la compilazione"
in "File -> Impostazioni"

@mrgluek
Copy link

mrgluek commented Jul 11, 2019

Here's the fix:
fb7fc07

@Armadill0 Armadill0 linked a pull request Mar 24, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants