You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile this using PlatformIO for ESP8266 Arduino core. I have added all lib deps but still getting the following erros:
src\main.cpp: In function 'void handleRoot()': src\main.cpp:163:17: error: 'handleTheme' was not declared in this scope handleTheme(); ^ src\main.cpp:165:14: error: 'handleD5' was not declared in this scope handleD5(); ^ src\main.cpp:167:14: error: 'handleD6' was not declared in this scope handleD6(); ^ src\main.cpp:169:14: error: 'handleD7' was not declared in this scope handleD7(); ^ src\main.cpp:171:14: error: 'handleD8' was not declared in this scope handleD8(); ^ src\main.cpp: In function 'void handleD5()': src\main.cpp:185:32: error: 'updateGPIO' was not declared in this scope updateGPIO(0,server.arg("D5")); ^ src\main.cpp: In function 'void handleD6()': src\main.cpp:190:32: error: 'updateGPIO' was not declared in this scope updateGPIO(1,server.arg("D6")); ^ src\main.cpp: In function 'void handleD7()': src\main.cpp:195:32: error: 'updateGPIO' was not declared in this scope updateGPIO(2,server.arg("D7")); ^ src\main.cpp: In function 'void handleD8()': src\main.cpp:200:32: error: 'updateGPIO' was not declared in this scope updateGPIO(3,server.arg("D8"));
Where most of these functions are declared?
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to compile this using PlatformIO for ESP8266 Arduino core. I have added all lib deps but still getting the following erros:
src\main.cpp: In function 'void handleRoot()': src\main.cpp:163:17: error: 'handleTheme' was not declared in this scope handleTheme(); ^ src\main.cpp:165:14: error: 'handleD5' was not declared in this scope handleD5(); ^ src\main.cpp:167:14: error: 'handleD6' was not declared in this scope handleD6(); ^ src\main.cpp:169:14: error: 'handleD7' was not declared in this scope handleD7(); ^ src\main.cpp:171:14: error: 'handleD8' was not declared in this scope handleD8(); ^ src\main.cpp: In function 'void handleD5()': src\main.cpp:185:32: error: 'updateGPIO' was not declared in this scope updateGPIO(0,server.arg("D5")); ^ src\main.cpp: In function 'void handleD6()': src\main.cpp:190:32: error: 'updateGPIO' was not declared in this scope updateGPIO(1,server.arg("D6")); ^ src\main.cpp: In function 'void handleD7()': src\main.cpp:195:32: error: 'updateGPIO' was not declared in this scope updateGPIO(2,server.arg("D7")); ^ src\main.cpp: In function 'void handleD8()': src\main.cpp:200:32: error: 'updateGPIO' was not declared in this scope updateGPIO(3,server.arg("D8"));
Where most of these functions are declared?
The text was updated successfully, but these errors were encountered: