switchdoclabs / OurWeatherWeatherPlus

OurWeather Software for WeatherPlus Board - creates (or you rename) a directory called "SDL_ESP8266_WeatherPlus"
http://www.switchdoc.com
20 stars 32 forks source link

String.h not found on compile in Arduino IDE #2

Closed YannChemin closed 6 years ago

YannChemin commented 7 years ago

Hi,

I am using Arduino IDE, and it bugs on String.h, I have checked that Arduino.h is found in the same .ino file (few lines above). Using Arduino 1.8.2 with the genericESP8266 board and the default compiler (AVRISP mkII).

Thanks for any suggestions, Yann

switchdoclabs commented 7 years ago

You need to make sure you have downloaded and selected the adafruit huzzah ESP8266 libraries

On Apr 21, 2017, at 08:03, Yann Chemin notifications@github.com wrote:

Hi,

I am using Arduino IDE, and it bugs on String.h, I have checked that Arduino.h is found in the same .ino file (few lines above). Using Arduino 1.8.2 with the genericESP8266 board and the default compiler (AVRISP mkII).

Thanks for any suggestions, Yann

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

YannChemin commented 7 years ago

I have not been able to find those libraries, only those related things: https://github.com/adafruit?utf8=%E2%9C%93&q=HUZZAH&type=&language=

any link plz


/OurWeatherWeatherPlus/trunk/SDL_ESP8266_WeatherPlus/SDL_ESP8266_WeatherPlus.ino:86:20: fatal error: String.h: No such file or directory

include

                ^

compilation terminated. exit status 1 Error compiling for board Adafruit HUZZAH ESP8266.

switchdoclabs commented 7 years ago

Instructions:

https://www.adafruit.com/product/2471

On Apr 21, 2017, at 08:27, Yann Chemin notifications@github.com wrote:

I have not been able to find those libraries, only those related things: https://github.com/adafruit?utf8=%E2%9C%93&q=HUZZAH&type=&language=

any link plz

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

YannChemin commented 7 years ago

Yes I have included the ESP8266 boards listing and libraries already from the boards manager, and I selected that HUZZAH board (see previous message last line). in Sketch-> Libraries -> I can find several ESP8266 things, but nothing mentioning HUZZAH.

switchdoclabs commented 7 years ago

Did you try installing g the string.h library?

On Apr 21, 2017, at 08:45, Yann Chemin notifications@github.com wrote:

Yes I have included the ESP8266 boards listing and libraries already from the boards manager, and I selected that HUZZAH board (see previous message last line). in Sketch-> Libraries -> I can find several ESP8266 things, but nothing mentioning HUZZAH.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

YannChemin commented 7 years ago

You mean String.h ? or string.h ? the code looks for String.h

YannChemin commented 7 years ago

by renaming String.h to string.h it moves on the next missing library (ellapsedMillis.h)

switchdoclabs commented 7 years ago

String.h

On Apr 21, 2017, at 08:51, Yann Chemin notifications@github.com wrote:

You mean String.h ? or string.h ? the code looks for String.h

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

switchdoclabs commented 7 years ago

Did you follow the readme file?

It sound like you are missing a bunch of libraries.

On Apr 21, 2017, at 09:05, Yann Chemin notifications@github.com wrote her:

by renaming String.h to string.h it moves on the next missing library (ellapsedMillis.h)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

YannChemin commented 7 years ago

yeah it compiled after other libraries were added. it actually worked with string.h. from v17 to v21 now :-)

switchdoclabs commented 7 years ago

:). '

On Apr 21, 2017, at 13:17, Yann Chemin notifications@github.com wrote:

yeah it compiled after other libraries were added. it actually worked with string.h. from v17 to v21 now :-)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.