Mixiaoxiao / Arduino-HomeKit-ESP32

[Deprecated] Native Apple HomeKit accessory implementation for the ESP32 Arduino core.
MIT License
226 stars 59 forks source link

lib/Arduino-HomeKit-ESP32/src/arduino_homekit_server_esp32.cpp:5:10: fatal error: ESPmDNS.h: No such file or directory #7

Open ghost opened 2 years ago

ghost commented 2 years ago

ESPmDNS Missing error

lib/Arduino-HomeKit-ESP32/src/arduino_homekit_server_esp32.cpp:5:10: fatal error: ESPmDNS.h: No such file or directory

rdavies02 commented 2 years ago

I am assuming you are using platformIO for your project. I solved this issue by including the ESPmDNS library in the platformio.ini file: as shown here lib_deps = ESPmDNS @ ^2.0.0