Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Problems compiling sketch #37

Open
PilotC150 opened this issue Sep 6, 2017 · 1 comment
Open

Problems compiling sketch #37

PilotC150 opened this issue Sep 6, 2017 · 1 comment

Comments

@PilotC150
Copy link

Not sure what's happening here. I followed all the directions and I'm just trying to get the main sketch to compile but I'm getting errors with the ESP8266WiFi library.

(I tried putting this in a code block but there's too many single quotes in there for it to get formatted correctly.)

I tried updating to latest Arduino IDE and updating all boards and libraries but still getting the error.

Any idea what could be causing these errors?

C:\Users\Chris\Documents\Arduino\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp: In member function 'void ESP8266WiFiClass::beginSmartConfig()':

C:\Users\Chris\Documents\Arduino\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp:393:76: error: cannot convert 'sc_type' to 'sc_callback_t {aka void ()(sc_status, void)}' for argument '1' to 'bool smartconfig_start(sc_callback_t, ...)'

 smartconfig_start(SC_TYPE_ESPTOUCH, &ESP8266WiFiClass::_smartConfigDone);

                                                                        ^

C:\Users\Chris\Documents\Arduino\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp: In member function 'bool ESP8266WiFiClass::smartConfigDone()':

C:\Users\Chris\Documents\Arduino\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp:409:35: error: 'smartconfig_get_status' was not declared in this scope

 return smartconfig_get_status() == SC_STATUS_LINK_OVER;

                               ^

Multiple libraries were found for "ESP8266mDNS.h"
Used: C:\Users\Chris\Documents\Arduino\libraries\ESP8266mDNS
Not used: C:\Users\Chris\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266mDNS
Multiple libraries were found for "ESP8266WiFi.h"
Used: C:\Users\Chris\Documents\Arduino\libraries\ESP8266WiFi
Not used: C:\Users\Chris\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

@DanielXYZ2000
Copy link

Hi,
I just compiled the current verision successfully.
I had a similar problem with multiple libraries and had parallel installation of the arduino IDE (normal installation and portable version) - After removing all an a fresh clean installation I got it work. Sorry that I can't give more details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants