Skip to content

error: 'handleTheme' was not declared in this scope handleTheme(); #6

@e-music

Description

@e-music

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions