Closed pvint closed 6 years ago
Original comment by Xose Pérez (Bitbucket: [Xose Pérez](https://bitbucket.org/Xose Pérez), ).
That's not aproblem with the fauxmoESP library but with the ESPAsyncTCP library (a dependency). Latest commit in the ESPAsyncTCP library breaks backwards compatibility as it has to be compiled against 2.4.0-rc2. If you are using stable 2.3.0 use ESPAsyncTCP@9b0cc37 from Sept 11th. You have two options:
git clone https://github.com/me-no-dev/ESPAsyncTCP/
cd ESPAsyncTCP
git reset --hard 9b0cc37
Original comment by Joe (Bitbucket: llewmihs, GitHub: llewmihs).
Thank Xose,
Using the checkout solution throws this error:
#!arduino
Arduino: 1.8.5 (Mac OS X), Board: "WeMos D1 R2 & mini, 80 MHz, 921600, 4M (3M SPIFFS)"
Build options changed, rebuilding all
In file included from /Users/joe/Documents/Arduino/sketch_oct20a/sketch_oct20a.ino:1:0:
/Users/joe/Documents/Arduino/libraries/fauxmoesp/src/fauxmoESP.h:113:9: error: 'WiFiEventHandler' does not name a type
WiFiEventHandler _handler;
^
Multiple libraries were found for "WiFiUdp.h"
Used: /Users/joe/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WiFi
Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
exit status 1
Error compiling for board WeMos D1 R2 & mini.
Do you have any guidance on staging 2.4.0-rc2 of the Arduino Core for ESP8266?
Thanks in advance
Llewmihs
Original comment by Xose Pérez (Bitbucket: [Xose Pérez](https://bitbucket.org/Xose Pérez), ).
Missing reference fixed in 2.3.0
Original report by Joe (Bitbucket: llewmihs, GitHub: llewmihs).
Hi, Completely fresh install of Arduino, all libraries downloaded as per instructions. Wemos D1 Mini compiles with other code. But when I include the Fauxmo library I get a failure (below). Any support would be greatly received.
Llewmihs