xoseperez / sonoffsc

Itead Studio SonoffSC custom firmware with MQTT and Domoticz support
GNU General Public License v3.0
104 stars 35 forks source link

Can´t build firmware for ESP8266 #33

Closed automaten closed 6 years ago

automaten commented 6 years ago

Hi,

I cannot build the firmware for the ESP8266, the compiler complains about the Ticker library if I understands this correct. I have tried with Ticker version 2.0.2 up til 3.1.1 to no avail. Please see the output belov.

Any help on this i greatly appreciated!

C:/Users/Home/Desktop/sonoffsc-dev/esp8266/sonoffsc/lights.ino:11:8: error: no matching function for call to 'Ticker::Ticker()' Ticker _lights_defer; ^ C:/Users/Home/Desktop/sonoffsc-dev/esp8266/sonoffsc/lights.ino:11:8: note: candidates are: In file included from C:/Users/Home/Desktop/sonoffsc-dev/esp8266/sonoffsc/lights.ino:9:0: .piolibdeps\Ticker_ID1586/Ticker.h:61:2: note: Ticker::Ticker(fptr, uint32_t, uint16_t, resolution_t) Ticker(fptr callback, uint32_t timer, uint16_t repeat = 0, resolution_t resolution = MICROS);

automaten commented 6 years ago

Problem solved by installing Atom and PlatformIO from scratch. This ticket can be closed.