Open foux44 opened 2 years ago
RemoteDebug is optional, see the section
#ifdef ESP_PLATFORM
# define HASPREFERENCES 1
# define HASREMOTEDEBUG 1
# include <WiFi.h>
#else
# define HASPREFERENCES 0
# define HASREMOTEDEBUG 0
# include <ESP8266WiFi.h>
#endif
in Bolbro.h.
ESP_PLATFORM is defined for ESP32 boards. In general, this type of errors will be related to the ESP board used. You may need to tweak the code in case a certain library is not compatible.
If I delete these line:
# define HASREMOTEDEBUG 1
# define HASREMOTEDEBUG 0
I still got the same error ...
This name needs to be either 1 or 0 (false). Set it to false in case you want to skip remote debug.
Anyway I use 0 in "#ifdef ESP_PLATFORM" I still get error when bolbro.h is modified like that:
#ifdef ESP_PLATFORM
# define HASPREFERENCES 0
# define HASREMOTEDEBUG 0
# include <WiFi.h>
#else
# define HASPREFERENCES 0
# define HASREMOTEDEBUG 0
# include <ESP8266WiFi.h>
#endif
Here the folowing libraries I use with Arduino IDE 1.8.19:
esp8266-3.0.2.zip 27 Jul 2021
RemoteDebug Version 3.0.5 23 Mar 2019
ArduinoWebsockets 0.5.3 06 Aug 2021
Are they ok ?
Please keep in mind I cannot give support for any specific configuration or error messages generated by compatibility issues. I have checked my lib versions nevertheless. The ESP8266 board support is on 2.7.4 - somewhat outdated. RemoteDebug is 3.0.5 and ArduinoWebsockets is not installed.
Thanks for your feedback, I understand your suggestion but with freshly installer Arduino software with last libraries it's not working...
Even with the "old" sources of libraries I can't compile... I tried to install an old version Arduino (1.8.13 from Mai 2020) but it's not working as welll... Which version to do use ?
I've also installed the library \ArduinoJson (seems to be links with bolbro) from an old version 6.15.2 from May 2020, do you know your own version ?
Thanks again
My Arduino IDE is 1.8.16, ArduinoJson is 6.19.3. Not sure it makes sense to find the problem like this. I have made sure the latest versions are in the rep, pull again please. They compile for me like this. In case they do not for you I'd assume it is around the board libs you have installed. Depending on the board, you will have different system headers and libs.
Wonderba ! With all the same version of Soft/lib... With your new uploaded script and with minor mistake onto line 420
Bolbro.addWiFi("SSID","PW""); // customize
Should be
Bolbro.addWiFi("SSID","PW"); // customize
It compile ! Thanks again for your precious feedback ! Will tried that week end all the assembling printed / electronics stuff !
Hi,
I'm experiencing some compilation trouble, according my search it could from the RemoteDebug library (https://github.com/JoaoLopesF/RemoteDebug/issues/80), following that thread it has not helping me still stuck on that error
C:\Users\XXX\Documents\Arduino\libraries\RemoteDebug\src\utility\WebSocketsClient.cpp: In member function 'void WebSocketsClient::connectedCb()': C:\Users\XXX\Documents\Arduino\libraries\RemoteDebug\src\utility\WebSocketsClient.cpp:704:26: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify' 704 | if(!_client.ssl->verify(_fingerprint.c_str(), _host.c_str())) { | ^~~~~~ exit status 1 Erreur de compilation pour la carte LOLIN(WEMOS) D1 R2 & mini
Some help would be greatfull !
Thanks,