Robot-Will / Stino

A Sublime Text Plugin for Arduino
Other
1.58k stars 250 forks source link

error when build esp8266 webserver #513

Open huyhtc opened 5 years ago

huyhtc commented 5 years ago

hi Error when i build esp8266 example HelloServer

[23.9%] Compiling ESP8266mDNS.cpp... C:/Users/huydl/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.4.2/libraries/ESP8266mDNS/ESP8266mDNS.cpp: In member function 'void MDNSResponder::enableArduino(uint16_t, bool)':

:0:15: error: 'ESP8266_GENERIC' was not declared in this scope C:/Users/huydl/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.4.2/libraries/ESP8266mDNS/ESP8266mDNS.cpp:973:44: note: in expansion of macro 'ARDUINO_BOARD' addServiceTxt("arduino", "tcp", "board", ARDUINO_BOARD); ^ [Build] Error occurred. i change __init__.py line 1046 to platform_paths = [platform_path, sketchbook_path] it does not work.
xabileiro commented 5 years ago

I have the same problem whit that library

kindzhon commented 3 years ago

no answer?

kindzhon commented 3 years ago

I found way to be ok. It's 2.4.2 bug. u can edit ESP8266mDNS.cpp like this. /**