-
Notifications
You must be signed in to change notification settings - Fork 5
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
How to build within Arduino IDE? #21
Comments
Mh, do you use Arduino IDE 2? |
I found the reason for the problem: Your filename server.h is very unfortunate as the same filename is being used by the arduino framework code within NetworkServer.h:
My solution to fix this issue is renaming your server.h file to httpserver.h - maybe you should consider doing the same. |
As a PlatformIO user I am trying to compile the project with the Arduino IDE. After setting my ESP32 board type, adding all libraries manually and clicking on 'verify' I get errors like these:
.../proj/MBusino/src/MBusino/Server.h: In function 'void setupServer()':
.../proj/MBusino/src/MBusino/Server.h:2:3: error: 'server' was not declared in this scope; did you mean 'Server'?
Is there any document describing how to properly build this project?
The text was updated successfully, but these errors were encountered: