{"action":"opened","issue":{"url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/203","repository_url":"https://api.github.com/repos/letscontrolit/ESPEasy","labels_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/203/comments","events_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/203/events","html_url":"https://github.com/letscontrolit/ESPEasy/issues/203","id":220036314,"number":203,"title":"Help to compile the new version","user":{"login":"ayasystems","id":7864168,"avatar_url":"https://avatars3.githubusercontent.com/u/7864168?v=3","gravatar_id":"","url":"https://api.github.com/users/ayasystems","html_url":"https://github.com/ayasystems","followers_url":"https://api.github.com/users/ayasystems/followers","following_url":"https://api.github.com/users/ayasystems/following{/other_user}","gists_url":"https://api.github.com/users/ayasystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ayasystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayasystems/subscriptions","organizations_url":"https://api.github.com/users/ayasystems/orgs","repos_url":"https://api.github.com/users/ayasystems/repos","events_url":"https://api.github.com/users/ayasystems/events{/privacy}","received_events_url":"https://api.github.com/users/ayasystems/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-06T21:18:14Z","updated_at":"2017-04-06T21:18:14Z","closed_at":null,"body":"Hi\r\n\r\nI'm having a problems to compile the new version of EspEasy....\r\n\r\nWhat am i doing wrong? \r\n\r\nHere the error log\r\n\r\nhttps://pastebin.com/S4qHtT07\r\n\r\n`ommand:478: error: variable or field 'printDirectory' declared void\r\n\r\n void printDirectory(File dir, int numTabs) {\r\n\r\n                     ^\r\n\r\nCommand:478: error: 'File' was not declared in this scope\r\n\r\nCommand:478: error: expected primary-expression before 'int'\r\n\r\n void printDirectory(File dir, int numTabs) {\r\n\r\n                               ^\r\n\r\nNetworking:394: error: variable or field 'SSDP_schema' declared void\r\n\r\n void SSDP_schema(WiFiClient client) {\r\n\r\n                  ^\r\n\r\nNetworking:394: error: 'WiFiClient' was not declared in this scope\r\n\r\n_N001_Email:112: error: 'WiFiClient' was not declared in this scope\r\n\r\n boolean NPlugin_001_MTA(WiFiClient client, String aStr, String aWaitForPattern)\r\n\r\n                         ^\r\n\r\n_N001_Email:112: error: expected primary-expression before 'aStr'\r\n\r\n boolean NPlugin_001_MTA(WiFiClient client, String aStr, String aWaitForPattern)\r\n\r\n                                                   ^\r\n\r\n_N001_Email:112: error: expected primary-expression before 'aWaitForPattern'\r\n\r\n boolean NPlugin_001_MTA(WiFiClient client, String aStr, String aWaitForPattern)\r\n\r\n                                                                ^\r\n\r\n_N001_Email:112: error: expression list treated as compound expression in initializer [-fpermissive]\r\n\r\n boolean NPlugin_001_MTA(WiFiClient client, String aStr, String aWaitForPattern)\r\n\r\n                                                                               ^\r\n\r\nC:\\Users\\Angel\\Dropbox\\Arduino\\ESPeasy\\Command.ino: In function 'void ExecuteCommand(byte, const char*)':\r\n\r\nCommand:49: error: 'RTC' was not declared in this scope\r\n\r\n     RTC.factoryResetCounter = 0;\r\n\r\n     ^\r\n\r\nCommand:66: error: 'Settings' was not declared in this scope\r\n\r\n       if (Settings.NotificationEnabled[Par1 - 1] && Settings.Notification[Par1 - 1] != 0)\r\n\r\n           ^\r\n\r\nCommand:69: error: aggregate 'EventStruct TempEvent' has incomplete type and cannot be defined\r\n\r\n         struct EventStruct TempEvent;\r\n\r\n                            ^\r\n\r\nCommand:71: error: 'NPlugin_id' was not declared in this scope\r\n\r\n         if (NPlugin_id[NotificationProtocolIndex] != 0)\r\n\r\n             ^\r\n\r\nCommand:72: error: 'NPlugin_ptr' was not declared in this scope\r\n\r\n           NPlugin_ptr[NotificationProtocolIndex](NPLUGIN_NOTIFY, &TempEvent, message);\r\n\r\n           ^\r\n\r\nCommand:72: error: 'NPLUGIN_NOTIFY' was not declared in this scope\r\n\r\n           NPlugin_ptr[NotificationProtocolIndex](NPLUGIN_NOTIFY, &TempEvent, message);\r\n\r\n                                                  ^\r\n\r\nCommand:80: error: 'RTC' was not declared in this scope\r\n\r\n     RTC.flashDayCounter = 0;\r\n\r\n     ^\r\n\r\nCommand:97: error: 'File' was not declared in this scope\r\n\r\n     File root = SD.open(\"/\");\r\n\r\n     ^\r\n\r\nCommand:97: error: expected ';' before 'root'\r\n\r\n     File root = SD.open(\"/\");\r\n\r\n          ^\r\n\r\nCommand:98: error: 'root' was not declared in this scope\r\n\r\n     root.rewindDirectory();\r\n\r\n     ^\r\n\r\nCommand:99: error: 'printDirectory' was not declared in this scope\r\n\r\n     printDirectory(root, 0);\r\n\r\n                           ^\r\n\r\nCommand:110: error: 'SD' was not declared in this scope\r\n\r\n     SD.remove((char*)fname.c_str());\r\n\r\n     ^\r\n\r\nCommand:115: error: 'lowestRAM' was not declared in this scope\r\n\r\n     Serial.print(lowestRAM);\r\n\r\n                  ^\r\n\r\nCommand:117: error: 'lowestRAMid' was not declared in this scope\r\n\r\n     Serial.println(lowestRAMid);\r\n\r\n                    ^\r\n\r\nCommand:130: error: 'loopCounterLast' was not declared in this scope\r\n\r\n     Serial.print(100 - (100 * loopCounterLast / loopCounterMax));\r\n\r\n                               ^\r\n\r\nCommand:130: error: 'loopCounterMax' was not declared in this scope\r\n\r\n     Serial.print(100 - (100 * loopCounterLast / loopCounterMax));\r\n\r\n                                                 ^\r\n\r\nCommand:148: error: 'SecuritySettings' was not declared in this scope\r\n\r\n     Serial.println(sizeof(SecuritySettings));\r\n\r\n                           ^\r\n\r\nCommand:150: error: 'Settings' was not declared in this scope\r\n\r\n     Serial.println(sizeof(Settings));\r\n\r\n                           ^\r\n\r\nCommand:152: error: 'ExtraTaskSettings' was not declared in this scope\r\n\r\n     Serial.println(sizeof(ExtraTaskSettings));\r\n\r\n                           ^\r\n\r\nCommand:154: error: 'Device' was not declared in this scope\r\n\r\n     Serial.println(sizeof(Device));\r\n\r\n                           ^\r\n\r\nCommand:166: error: 'Wire' was not declared in this scope\r\n\r\n     Wire.beginTransmission(Par1);  // address\r\n\r\n     ^\r\n\r\nCommand:175: error: 'Wire' was not declared in this scope\r\n\r\n     Wire.beginTransmission(Par1);  // address\r\n\r\n     ^\r\n\r\nCommand:191: error: 'Settings' was not declared in this scope\r\n\r\n     Settings.Build = Par1;\r\n\r\n     ^\r\n\r\nCommand:198: error: 'Settings' was not declared in this scope\r\n\r\n     Settings.deepSleep = 0;\r\n\r\n     ^\r\n\r\nCommand:208: error: 'Wire' was not declared in this scope\r\n\r\n       Wire.beginTransmission(address);\r\n\r\n       ^\r\n\r\nCommand:241: error: 'UserVar' was not declared in this scope\r\n\r\n       UserVar[(VARS_PER_TASK * (Par1 - 1)) + Par2 - 1] = result;\r\n\r\n       ^\r\n\r\nCommand:241: error: 'VARS_PER_TASK' was not declared in this scope\r\n\r\n       UserVar[(VARS_PER_TASK * (Par1 - 1)) + Par2 - 1] = result;\r\n\r\n                ^\r\n\r\nCommand:253: error: 'RULES_TIMER_MAX' was not declared in this scope\r\n\r\n     if (Par1>=0 && Par1<RULES_TIMER_MAX)\r\n\r\n                         ^\r\n\r\nCommand:258: error: 'RulesTimer' was not declared in this scope\r\n\r\n         RulesTimer[Par1 - 1] = millis() + (1000 * Par2);\r\n\r\n         ^\r\n\r\nCommand:261: error: 'RulesTimer' was not declared in this scope\r\n\r\n         RulesTimer[Par1 - 1] = 0L;\r\n\r\n         ^\r\n\r\nCommand:275: error: 'Settings' was not declared in this scope\r\n\r\n       Settings.UseRules = true;\r\n\r\n       ^\r\n\r\nCommand:277: error: 'Settings' was not declared in this scope\r\n\r\n       Settings.UseRules = false;\r\n\r\n       ^\r\n\r\nCommand:286: error: 'Settings' was not declared in this scope\r\n\r\n     if (Settings.UseRules)\r\n\r\n         ^\r\n\r\nCommand:313: error: 'MQTTclient' was not declared in this scope\r\n\r\n       MQTTclient.publish(topic.c_str(), value.c_str(), Settings.MQTTRetainFlag);\r\n\r\n       ^\r\n\r\nCommand:313: error: 'Settings' was not declared in this scope\r\n\r\n       MQTTclient.publish(topic.c_str(), value.c_str(), Settings.MQTTRetainFlag);\r\n\r\n                                                        ^\r\n\r\nCommand:327: error: 'IPAddress' was not declared in this scope\r\n\r\n     IPAddress UDP_IP(ipaddress[0], ipaddress[1], ipaddress[2], ipaddress[3]);\r\n\r\n     ^\r\n\r\nCommand:327: error: expected ';' before 'UDP_IP'\r\n\r\n     IPAddress UDP_IP(ipaddress[0], ipaddress[1], ipaddress[2], ipaddress[3]);\r\n\r\n               ^\r\n\r\nCommand:328: error: 'portUDP' was not declared in this scope\r\n\r\n     portUDP.beginPacket(UDP_IP, port.toInt());\r\n\r\n     ^\r\n\r\nCommand:328: error: 'UDP_IP' was not declared in this scope\r\n\r\n     portUDP.beginPacket(UDP_IP, port.toInt());\r\n\r\n                         ^\r\n\r\nCommand:341: error: 'WiFiClient' was not declared in this scope\r\n\r\n     WiFiClient client;\r\n\r\n     ^\r\n\r\nCommand:341: error: expected ';' before 'client'\r\n\r\n     WiFiClient client;\r\n\r\n                ^\r\n\r\nCommand:342: error: 'client' was not declared in this scope\r\n\r\n     if (client.connect(host.c_str(), port.toInt()))\r\n\r\n         ^\r\n\r\nCommand:355: error: 'LOG_LEVEL_DEBUG' was not declared in this scope\r\n\r\n           addLog(LOG_LEVEL_DEBUG, line);\r\n\r\n                  ^\r\n\r\nCommand:370: error: 'SecuritySettings' was not declared in this scope\r\n\r\n     strcpy(SecuritySettings.WifiSSID, Line + 9);\r\n\r\n            ^\r\n\r\nCommand:376: error: 'SecuritySettings' was not declared in this scope\r\n\r\n     strcpy(SecuritySettings.WifiKey, Line + 8);\r\n\r\n            ^\r\n\r\nCommand:414: error: 'WiFi' was not declared in this scope\r\n\r\n     WiFi.persistent(true); // use SDK storage of SSID/WPA parameters\r\n\r\n     ^\r\n\r\nCommand:440: error: 'Settings' was not declared in this scope\r\n\r\n     Settings.SerialLogLevel = Par1;\r\n\r\n     ^\r\n\r\nCommand:447: error: 'Settings' was not declared in this scope\r\n\r\n       if (!str2ip(TmpStr1, Settings.IP))\r\n\r\n                            ^\r\n\r\nCommand:458: error: 'IPAddress' was not declared in this scope\r\n\r\n     IPAddress ip = WiFi.localIP();\r\n\r\n     ^\r\n\r\nCommand:458: error: expected ';' before 'ip'\r\n\r\n     IPAddress ip = WiFi.localIP();\r\n\r\n               ^\r\n\r\nCommand:459: error: 'ip' was not declared in this scope\r\n\r\n     sprintf_P(str, PSTR(\"%u.%u.%u.%u\"), ip[0], ip[1], ip[2], ip[3]);\r\n\r\n                                         ^\r\n\r\nCommand:461: error: 'BUILD' was not declared in this scope\r\n\r\n     Serial.print(F(\"  Build         : \")); Serial.println((int)BUILD);\r\n\r\n                                                                ^\r\n\r\nCommand:462: error: 'Settings' was not declared in this scope\r\n\r\n     Serial.print(F(\"  Unit          : \")); Serial.println((int)Settings.Unit);\r\n\r\n                                                                ^\r\n\r\nCommand:463: error: 'SecuritySettings' was not declared in this scope\r\n\r\n     Serial.print(F(\"  WifiSSID      : \")); Serial.println(SecuritySettings.WifiSSID);\r\n\r\n                                                           ^\r\n\r\nC:\\Users\\Angel\\Dropbox\\Arduino\\ESPeasy\\Command.ino: At global scope:\r\n\r\nCommand:478: error: variable or field 'printDirectory' declared void\r\n\r\n void printDirectory(File dir, int numTabs) {\r\n\r\n                     ^\r\n\r\nCommand:478: error: 'File' was not declared in this scope\r\n\r\nCommand:478: error: expected primary-expression before 'int'\r\n\r\n void printDirectory(File dir, int numTabs) {\r\n\r\n                               ^\r\n\r\nIn file included from c:\\users\\angel\\appdata\\local\\arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\1.20.0-26-gb404fb9-2\\xtensa-lx106-elf\\include\\c++\\4.8.2\\typeinfo:34:0,\r\n\r\n                 from c:\\users\\angel\\appdata\\local\\arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\1.20.0-26-gb404fb9-2\\xtensa-lx106-elf\\include\\c++\\4.8.2\\functional:53,\r\n\r\n                 from C:\\Users\\Angel\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.3.0\\libraries\\ESP8266WiFi\\src/ESP8266WiFiGeneric.h:27,\r\n\r\n                 from C:\\Users\\Angel\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.3.0\\libraries\\ESP8266WiFi\\src/ESP8266WiFiSTA.h:28,\r\n\r\n                 from C:\\Users\\Angel\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.3.0\\libraries\\ESP8266WiFi\\src/ESP8266WiFi.h:34,\r\n\r\n                 from C:\\Users\\Angel\\Dropbox\\Arduino\\ESPeasy\\ESPEasy.ino:268:\r\n\r\nc:\\users\\angel\\appdata\\local\\arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\1.20.0-26-gb404fb9-2\\xtensa-lx106-elf\\include\\c++\\4.8.2\\exception:35:37: error: expected declaration before end of line\r\n\r\n #pragma GCC visibility push(default)\r\n\r\n                                     ^\r\n\r\nSe encontraron múltiples librerías para \"Servo.h\"\r\nUsado: C:\\Users\\Angel\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.3.0\\libraries\\Servo\r\n No usado: C:\\Program Files (x86)\\Arduino\\libraries\\Servo\r\nSe encontraron múltiples librerías para \"SD.h\"\r\nUsado: C:\\Users\\Angel\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.3.0\\libraries\\SD\r\n No usado: C:\\Program Files (x86)\\Arduino\\libraries\\SD\r\nexit status 1\r\nvariable or field 'printDirectory' declared void`"}}
{"actor":{"display_login":"ayasystems"}}