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

Network.h: No such file or directory #3

Open
lehoangphuc86 opened this issue Aug 12, 2024 · 4 comments
Open

Network.h: No such file or directory #3

lehoangphuc86 opened this issue Aug 12, 2024 · 4 comments

Comments

@lehoangphuc86
Copy link

Hello,

I am trying to include this library and it is raising the below issue. It seems we are missing some header file from Arduino right?

I am using platformio on vscode

In file included from .pio/libdeps/esp32c3/EthernetESP32/src/EthernetESP32.h:2, from src/main.cpp:14: .pio/libdeps/esp32c3/EthernetESP32/src/Ethernet.h:24:10: fatal error: Network.h: No such file or directory

Thank you

@JAndrassy
Copy link
Member

from README

EthernetESP32 requires ESP32 platform version 3 or higher.

@lehoangphuc86
Copy link
Author

@JAndrassy Thanks for reply. I am using this library inside platformio which has not supported ESP32 3.0 yet, may I know if you have tried this with platfformio before?

@JAndrassy
Copy link
Member

no. I don't use and support platformio

@Asyasyarif
Copy link

I received the error message Network.h: No such file or directory while using PlatformIO.

Then, I changed the Espressif32 platform configuration platform.ini to the following:

[env:esp32dev]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.03/platform-espressif32.zip

no more errors.

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

3 participants