Whyzanet / WhyzaGC

Feather Huzzah ESP2866/ESP32 + Featherwing 128x64 OLED Arduino addon to Mightohm Gieger
GNU General Public License v3.0
20 stars 2 forks source link

Error durung compile ESP32 project #1

Closed lexiz52 closed 1 year ago

lexiz52 commented 1 year ago

Hi,

I get this error during compile: exit status 1

no matching function for call to 'MDNSResponder::begin(String&)'

Arduino Ver. 1.8.19 WIN

ERROR_Compile

I get this only with the ESP32 program. What is the issue?

Best Regards Lexiz52

Whyzanet commented 1 year ago

Are you using Arduino ESP32 2.0.4 or greater ?

https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html

lexiz52 commented 1 year ago

ESP32 2.0.5 is installed

Whyzanet commented 1 year ago

There is an error in the code

Change String hostname = "WhyzaGC-ESP"; // Set wifi hostname to const char* hostname = "WhyzaGC-ESP";

I have updated the code. Let me know if you find further issues.

lexiz52 commented 1 year ago

Hi,

this error is solved, thanks! But I got one more error during compile: ERROR_Compile_2 I solved it with this change in program ("getFormattedTime" instead "getFormattedDate"): Working BR lexiz52

Whyzanet commented 1 year ago

Thanks for the feedback.

I was using NTPClient library v 3.1 I have updated to 3.2.1 and confirmed getFormattedDate functionality has been removed ;|

I will update the code and version to reflect these changes.

Let me know if you find any issues with the code.

Whyzanet commented 1 year ago

Closing