Closed TeH07 closed 6 months ago
This is your installation and IDE cache issue.
You have to uninstall the old version and install the latest first.
In your case, the IDE cache can be the problem. You should clear your IDE cache too.
Edit: The issue is because of the library code.
IDE and its version:
ESP32
I encountered a compilation error while trying to compile the example sketch from the FirebaseClient library (examples/Storage/Async/Callback/OTAexamples/Storage/Async/Callback/OTA). The error messages indicate that the struct does not have a member named , and the constant is undefined. This prevents the sketch from compiling successfully.network_config_dataethernetethernet_conn_status_waits
Error Details: In file included from c:\users\wanch\documents\arduino\libraries\firebaseclient\src\core\firebaseapp.h:30, from c:\Users\wanch\Documents\Arduino\libraries\FirebaseClient\src/FirebaseClient.h:32, from E:\Android\OTA_FirebaseClient\OTA_FirebaseClient.ino:5: c:\users\wanch\documents\arduino\libraries\firebaseclient\src\core\asyncclient\asyncclient.h: In member function 'bool AsyncClientClass::netStatus(async_data_item_t*)': c:\users\wanch\documents\arduino\libraries\firebaseclient\src\core\asyncclient\asyncclient.h:1745:21: error: 'struct network_config_data' has no member named 'ethernet' if (net.ethernet.conn_satatus != network_config_data::ethernet_conn_status_waits) ^
~~~ c:\users\wanch\documents\arduino\libraries\firebaseclient\src\core\asyncclient\asyncclient.h:1745:67: error: 'ethernet_conn_status_waits' is not a member of 'network_config_data' if (net.ethernet.conn_satatus != network_config_data::ethernet_conn_status_waits) ^~~~~~exit status 1 Compilation error: exit status 1