guido-visser / vMix-M5Stick-Tally-Light

A script to run on a M5Stick-C to use the device as a Tally Light for vMix
74 stars 18 forks source link

Error when updating to latest version (04-08-2021) #25

Open spellwind84 opened 3 years ago

spellwind84 commented 3 years ago

C:\Users*\Documents\Arduino\a_GLOBAL\b_SETTINGS.ino: In function 'void loadSettings()': b_SETTINGS:14:59: error: 'saveWiFiPreferences' was not declared in this scope saveWiFiPreferences(&(WIFI_SSID[0]), &(WIFI_PASS[0])); ^ C:\Users\\Documents\Arduino\a_GLOBAL\b_SETTINGS.ino: At global scope: b_SETTINGS:25:3: error: 'CONN_INT' does not name a type CONN_INT = preferences.getUInt("conn_int") || CONN_INT; ^ b_SETTINGS:26:3: error: 'MODE' does not name a type MODE = preferences.getUInt("mode") || MODE; ^ b_SETTINGS:27:3: error: 'JUSTLIVE' does not name a type JUSTLIVE = preferences.getUInt("justLive") || JUSTLIVE; ^ b_SETTINGS:29:3: error: expected unqualified-id before 'if' if(preferences.getString("m_tally").length() > 0){ ^ b_SETTINGS:33:3: error: 'Serial' does not name a type Serial.println("BRIGHTNESS"); ^ b_SETTINGS:34:3: error: 'Serial' does not name a type Serial.println(preferences.getUInt("bright")); ^ b_SETTINGS:36:3: error: expected unqualified-id before 'if' if(preferences.getUInt("bright")){ ^ b_SETTINGS:40:3: error: 'preferences' does not name a type preferences.end(); ^ b_SETTINGS:41:1: error: expected declaration before '}' token } ^ Multiple libraries were found for "WiFi.h" Used: C:\Users******\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFi Unused: C:\Program Files (x86)\Arduino\libraries\WiFi exit status 1 'saveWiFiPreferences' was not declared in this scope

Copied libraries from latest version to document/arduino/libraries, after removing the old libraries with the same name, opened a_global from latest version and tried to update.