0 votes
in Touch Interface by (210 points)

Hello room, I am new here so I'll give a you a quick introduction. I am 58 yo, total Lost in Space fan and relatively new to the Arduino. I have had some success in using the Arduino IDE but mostly failures. I recently bought the ESP Weather Station Color project and among other problems I am having (which I wont get into now) every time I click "verify" on the Arduino IDE I keep getting the same error message   Arduino: 1.8.5 (Windows 10), Board: "WeMos D1 mini Pro, 80 MHz, 16M (15M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

Invalid library found in C:\Users\Jim\Documents\Arduino\libraries\bearssl: C:\Users\Jim\Documents\Arduino\libraries\bearssl
In file included from C:\Users\Jim\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecureBearSSL.h:24:0,
                 from C:\Users\Jim\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:21,
                 from C:\Users\Jim\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
                 from C:\Users\Jim\Documents\Arduino\esp8266-weather-station-color-master\esp8266-weather-station-color\esp8266-weather-station-color.ino:29:

C:\Users\Jim\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:27:29: fatal error: bearssl/bearssl.h: No such file or directory

 #include <bearssl/bearssl.h>
                             ^
compilation terminated.

exit status 1
Error compiling for board WeMos D1 mini Pro.
Invalid library found in C:\Users\Jim\Documents\Arduino\libraries\bearssl: C:\Users\Jim\Documents\Arduino\libraries\bearssl
Invalid library found in C:\Users\Jim\Documents\Arduino\libraries\bearssl: C:\Users\Jim\Documents\Arduino\libraries\bearssl
Invalid library found in C:\Users\Jim\Documents\Arduino\libraries\bearssl:


The C:\Users message repeats 35 times.
 

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

Also when I remove the bearssl file from the libraries section I get the following message

Arduino: 1.8.5 (Windows 10), Board: "WeMos D1 mini Pro, 80 MHz, 16M (15M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

Build options changed, rebuilding all
In file included from C:\Users\Jim\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecureBearSSL.h:24:0,
                 from C:\Users\Jim\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:21,
                 from C:\Users\Jim\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
                 from C:\Users\Jim\Documents\Arduino\esp8266-weather-station-color-master\esp8266-weather-station-color\esp8266-weather-station-color.ino:29:
C:\Users\Jim\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:27:29: fatal error: bearssl/bearssl.h: No such file or directory
 #include <bearssl/bearssl.h>
                             ^
compilation terminated.

exit status 1
Error compiling for board WeMos D1 mini Pro.

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


Has anyone out there had this kind of problem?

Can any one tell me how to fix this error message?

I am a proud member of The B9 Robot Builders Club and have built a life size B9 Robot and since (in the beginning) he was an environmental control robot I want to place this wonderful project on the robot and maybe in the future have him announce what's on the screen so any help in this matter would be greatly appreciated.

Sorry this was so long but in the future my messages will be shorter.

Thank you

by (210 points)
I have removed all folders and files from the Arduino/libraries folder and installed only the five recommended files and here is the error message I see

Arduino: 1.8.5 (Windows 10), Board: "WeMos D1 mini Pro, 80 MHz, 16M (15M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

C:\Users\Jim\AppData\Local\Temp\arduino_modified_sketch_996730\esp8266-weather-station-color.ino:29:43: fatal error: ESP8266WiFi.h: No such file or directory

 #include <ESP8266WiFi.h>                  

                                           ^

compilation terminated.

exit status 1
Error compiling for board WeMos D1 mini Pro.

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


As far as the above mentioned toolchain 2.4.1 it is not there but I do have a folder named esp8266-2.4.1 in the original Libraries folder I emptied onto my desktop, is that the same thing only mislocated?
I have no more folders past  C:\Users\Jim\Documents\ArduinoData\       so no there is no ESP8266 toolchain 2.4.1 there.
by (19.9k points)
That means progress I guess.
We mentioned a couple of times that and how you need to install the 2.4.1 toolchain, see the respective chapter in our guide. Once this is done you're home free. I'm quite certain about this.
by (210 points)
WAHOOOOO, This things actually working and it is beautiful.  Wish I could show you the video of me doing cartwheels. Thank you Marcel and squix78, I can totally honestly say I would never have got this to work without your help and guidance. Now that I see this actually working I can more appreciate the hard work you guys must have gone through to create this amazing project and the $36 bucks I spent was well worth it. I will probably need to buy a few more for my neighbor and my father in law.

I still have one more question, what happens next month if I find a sketch that requires some of the other libraries that I removed to get this to work ? If I have to put them back will this still work or do I need to set up a different folder somehow? If so you have any suggestions how?

Again thank you, 16 months I fought this with realistically no hope of ever getting it to work. This was going to be my last, best attempt.
by (210 points)
Sorry but I forgot to ask does this do automatic daylight savings time changes or is that up to me?
by (210 points)
In case you might be wondering how I finally got it to work I actually went into Sketch/include Libraries/manage libraries and went to  the 2.4.1 toolchain and uninstalled it, then I reinstalled. I also noticed a small box on the web page where it tells the builder to change the baud rate to 115200 although I have no idea what that is about I noticed mine was set at 9600 so I changed that. Next when I clicked verify it took about a half an hour to actually verify but there were no error messages so I took a chance and uploaded the program which also took about a half an hour and at about 5 am EST the display came to life and it was amazing. Now it no longer takes as long but it is truly worth the wait, at least for me.

Thanks again,
Jim

Please log in or register to answer this question.

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.

https://thingpulse.com

...