07-06-2024, 06:08 PM
MOI JE SUIS PERDU VOICI LE MESSAGE COMPLER
C:\Users\33617\Desktop\ROUTEUR SOLAIRE\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP.ino: In function 'void setup()':
C:\Users\33617\Desktop\ROUTEUR SOLAIRE\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP.ino:189:24: error: no matching function for call to 'MDNSResponder::begin(String&)'
MDNS.begin(hostname);
^
In file included from C:\Users\33617\Desktop\ROUTEUR SOLAIRE\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP.ino:41:
C:\Users\33617\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.7\libraries\ESPmDNS\src/ESPmDNS.h:57:8: note: candidate: 'bool MDNSResponder::begin(const char*)'
bool begin(const char* hostName);
^~~~~
C:\Users\33617\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.7\libraries\ESPmDNS\src/ESPmDNS.h:57:8: note: no known conversion for argument 1 from 'String' to 'const char*'
C:\Users\33617\Desktop\ROUTEUR SOLAIRE\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP.ino: In function 'void setup()':
C:\Users\33617\Desktop\ROUTEUR SOLAIRE\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP.ino:189:24: error: no matching function for call to 'MDNSResponder::begin(String&)'
MDNS.begin(hostname);
^
In file included from C:\Users\33617\Desktop\ROUTEUR SOLAIRE\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP\Power_Remote_Display_V9_DISP.ino:41:
C:\Users\33617\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.7\libraries\ESPmDNS\src/ESPmDNS.h:57:8: note: candidate: 'bool MDNSResponder::begin(const char*)'
bool begin(const char* hostName);
^~~~~
C:\Users\33617\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.7\libraries\ESPmDNS\src/ESPmDNS.h:57:8: note: no known conversion for argument 1 from 'String' to 'const char*'