platformio / platform-espressif8266

Espressif 8266: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif8266
Apache License 2.0
325 stars 219 forks source link

schdule_function in mDNS code #139

Closed git-tiger closed 5 years ago

git-tiger commented 5 years ago

I had updated the core libraries, and now get an error in the LEAmDNS.cpp file. Espressif 8266 library version 2.0.4

Compiling .pioenvs\RACETRACKER2\libe29\ESP8266mDNS\LEAmDNS_Control.cpp.o C:\Users\user.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266mDNS\src\LEAmDNS.cpp: In lambda function: C:\Users\user.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266mDNS\src\LEAmDNS.cpp:100:76: error: 'schedule_function' was not declared in this scope schedule_function(std::bind(&MDNSResponder::_restart, this)); ^ C:\Users\user.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266mDNS\src\LEAmDNS.cpp: In lambda function: C:\Users\user.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266mDNS\src\LEAmDNS.cpp:106:76: error: 'schedule_function' was not declared in this scope schedule_function(std::bind(&MDNSResponder::_restart, this)); ^ Compiling .pioenvs\project_name\libe29\ESP8266mDNS\LEAmDNS_Helpers.cpp.o *** [.pioenvs\project_name\libe29\ESP8266mDNS\LEAmDNS.cpp.o] Error 1

git-tiger commented 5 years ago

removed mDNS from project, and now rebuilding.