Heltec-Aaron-Lee / WiFi_Kit_series

Arduino source codes and toolchain for WiFi_Kit_series made by HelTecAutomation.
GNU Lesser General Public License v2.1
781 stars 310 forks source link

Using as esp-idf component #2 #14

Open iho77 opened 6 years ago

iho77 commented 6 years ago

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

tmuehlhoff commented 5 years ago

Any hint here ? I'm facing the same