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

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

Closed
YannChemin opened this issue Apr 21, 2017 · 11 comments
Closed

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

YannChemin opened this issue Apr 21, 2017 · 11 comments

Comments

@YannChemin
Copy link

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
Copy link
Owner

switchdoclabs commented Apr 21, 2017 via email

@YannChemin
Copy link
Author

YannChemin commented Apr 21, 2017

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 <String.h>
^
compilation terminated.
exit status 1
Error compiling for board Adafruit HUZZAH ESP8266.

@switchdoclabs
Copy link
Owner

switchdoclabs commented Apr 21, 2017 via email

@YannChemin
Copy link
Author

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
Copy link
Owner

switchdoclabs commented Apr 21, 2017 via email

@YannChemin
Copy link
Author

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

@YannChemin
Copy link
Author

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

@switchdoclabs
Copy link
Owner

switchdoclabs commented Apr 21, 2017 via email

@switchdoclabs
Copy link
Owner

switchdoclabs commented Apr 21, 2017 via email

@YannChemin
Copy link
Author

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

@switchdoclabs
Copy link
Owner

switchdoclabs commented Apr 21, 2017 via email

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

No branches or pull requests

2 participants