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

bug: redeclaration of Network on esp 3.x.x #33

Open
dni opened this issue Jul 30, 2024 · 0 comments
Open

bug: redeclaration of Network on esp 3.x.x #33

dni opened this issue Jul 30, 2024 · 0 comments

Comments

@dni
Copy link

dni commented Jul 30, 2024

esp32 3.x.x brokeb uBitcoin

                 from /home/dni/repos/lnbits/lnpos/lnpos/lnpos.ino:16:
/home/dni/Arduino/libraries/uBitcoin/src/Networks.h:42:3: error: 'typedef struct Network Network' redeclared as different kind of entity
   42 | } Network;
      |   ^~~~~~~
In file included from /home/dni/.arduino15/packages/esp32/hardware/esp32/3.0.3/libraries/Network/src/Network.h:10,
                 from /home/dni/.arduino15/packages/esp32/hardware/esp32/3.0.3/libraries/WiFi/src/WiFiGeneric.h:39,
                 from /home/dni/.arduino15/packages/esp32/hardware/esp32/3.0.3/libraries/WiFi/src/WiFiSTA.h:29,
                 from /home/dni/.arduino15/packages/esp32/hardware/esp32/3.0.3/libraries/WiFi/src/WiFi.h:33,
                 from /home/dni/repos/lnbits/lnpos/lnpos/lnpos.ino:1:
/home/dni/.arduino15/packages/esp32/hardware/esp32/3.0.3/libraries/Network/src/NetworkManager.h:34:23: note: previous declaration 'NetworkManager Network'
   34 | extern NetworkManager Network;```
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

1 participant