Build options changed, rebuilding all
MqttLogger:42:1: error: 'Config' does not name a type
Config gAppConfig; // The configuration, as set in EEPROM from the web config page
^
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'void setup()':
MqttLogger:128:28: error: 'gAppConfig' was not declared in this scope
if (APButtonPressed() || !gAppConfig.Load(EEPROM_CONFIG_ADDRESS))
^
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'void SetupMqtt()':
MqttLogger:217:18: error: 'gAppConfig' was not declared in this scope
Serial1.println(gAppConfig.MqttServer);
^
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'void GetMqttTopic(char*)':
MqttLogger:233:18: error: 'gAppConfig' was not declared in this scope
strcpy(pBuffer, gAppConfig.MqttTopic);
^
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'bool ConnectToWiFi()':
MqttLogger:428:16: error: 'gAppConfig' was not declared in this scope
Serial1.print(gAppConfig.Ssid);
^
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'String GetConfigPage()':
MqttLogger:526:2: error: 'Config' was not declared in this scope
Config vConfig;
^
MqttLogger:526:9: error: expected ';' before 'vConfig'
Config vConfig;
^
MqttLogger:527:6: error: 'vConfig' was not declared in this scope
if (vConfig.Load(EEPROM_CONFIG_ADDRESS))
^
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'String HandleSavePage(ESP8266WebServer)':
MqttLogger:575:2: error: 'Config' was not declared in this scope
Config vConfig;
^
MqttLogger:575:9: error: expected ';' before 'vConfig'
Config vConfig;
^
MqttLogger:576:2: error: 'vConfig' was not declared in this scope
vConfig.Ssid = new char[vSsid.length() + 1];
^
exit status 1
'Config' does not name a type
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Arduino: 1.8.9 (Windows 10), Board: "WeMos D1 R1, 80 MHz, Flash, Disabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
Build options changed, rebuilding all MqttLogger:42:1: error: 'Config' does not name a type
Config gAppConfig; // The configuration, as set in EEPROM from the web config page
^
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'void setup()':
MqttLogger:128:28: error: 'gAppConfig' was not declared in this scope
if (APButtonPressed() || !gAppConfig.Load(EEPROM_CONFIG_ADDRESS))
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'void SetupMqtt()':
MqttLogger:217:18: error: 'gAppConfig' was not declared in this scope
Serial1.println(gAppConfig.MqttServer);
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'void GetMqttTopic(char*)':
MqttLogger:233:18: error: 'gAppConfig' was not declared in this scope
strcpy(pBuffer, gAppConfig.MqttTopic);
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'bool ConnectToWiFi()':
MqttLogger:428:16: error: 'gAppConfig' was not declared in this scope
Serial1.print(gAppConfig.Ssid);
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'String GetConfigPage()':
MqttLogger:526:2: error: 'Config' was not declared in this scope
Config vConfig;
^
MqttLogger:526:9: error: expected ';' before 'vConfig'
Config vConfig;
MqttLogger:527:6: error: 'vConfig' was not declared in this scope
if (vConfig.Load(EEPROM_CONFIG_ADDRESS))
C:\Users\pc1\Desktop\kontroleri\arduino\portable\sketchbook\MBusMqttLogger\MqttLogger\MqttLogger.ino: In function 'String HandleSavePage(ESP8266WebServer)':
MqttLogger:575:2: error: 'Config' was not declared in this scope
Config vConfig;
^
MqttLogger:575:9: error: expected ';' before 'vConfig'
Config vConfig;
MqttLogger:576:2: error: 'vConfig' was not declared in this scope
vConfig.Ssid = new char[vSsid.length() + 1];
^
exit status 1 'Config' does not name a type
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.