When compiling as a idf component got the error:
C:/dev/espressif/heltec/esp32-arduino/libraries/ESPmDNS/src/ESPmDNS.h:110:3: error: 'mdns_server_t' does not name a type
mdns_server_t * mdns;
problem is, that mdns.h from esp-idf sdk is differ then from heltec sdk...
\espressif\heltec\esp32-arduino\tools\sdk\include\mdns\mdns.h has mdns_server_t declaration
\espressif\esp-idf\components\mdns\include\mdns.h has not
When compiling as a idf component got the error: C:/dev/espressif/heltec/esp32-arduino/libraries/ESPmDNS/src/ESPmDNS.h:110:3: error: 'mdns_server_t' does not name a type mdns_server_t * mdns;
problem is, that mdns.h from esp-idf sdk is differ then from heltec sdk... \espressif\heltec\esp32-arduino\tools\sdk\include\mdns\mdns.h has mdns_server_t declaration
\espressif\esp-idf\components\mdns\include\mdns.h has not
compiler try to use from esp-idf