Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile failed on V2024.3.0 #2

Open
tikismoke opened this issue Mar 20, 2024 · 1 comment
Open

compile failed on V2024.3.0 #2

tikismoke opened this issue Mar 20, 2024 · 1 comment

Comments

@tikismoke
Copy link

src/esphome/components/snmp/snmp_component.cpp: In lambda function:
src/esphome/components/snmp/snmp_component.cpp:234:85: error: 'class esphome::wifi::WiFiComponent' has no member named 'wifi_sta_ip'; did you mean 'wifi_soft_ap_ip'?
  234 |       CUSTOM_OID "4.4.0", []() -> std::string { return wifi::global_wifi_component->wifi_sta_ip().str(); });
      |                                                                                     ^~~~~~~~~~~
      |                                                                                     wifi_soft_ap_ip

Seems something change in esphome that make snmp compile failed.

@aquaticus
Copy link
Owner

For me it compiles without problem

Can you please provide more details of your build environment? like operating system and version of esphome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants