PlatformIO Community

Build error under WIN10 (Linux ok)


#1

Hi! I can’t build my project on Windows10

Processing esp12e (framework: arduino; platform: espressif8266; board: esp12e)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp12e.html
PLATFORM: Espressif 8266 > Espressif ESP8266 ESP-12E
HARDWARE: ESP8266 160MHz 80KB RAM (4MB Flash)
Converting PowerMeterIoT.ino
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Collected 30 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <Time> 1.5
|-- <WifiManager> 0.14
|   |-- <ESP8266WebServer> 1.0
|   |   |-- <ESP8266WiFi> 1.0
|   |   |-- <WiFi> 1.2.7
|   |   |   |-- <SPI> 1.0
|   |-- <ESP8266WiFi> 1.0
|   |-- <DNSServer> 1.1.1
|   |   |-- <WiFi> 1.2.7
|   |   |   |-- <SPI> 1.0
|-- <DNSServer> 1.1.1
|   |-- <WiFi> 1.2.7
|   |   |-- <SPI> 1.0
|-- <ESP8266WebServer> 1.0
|   |-- <ESP8266WiFi> 1.0
|   |-- <WiFi> 1.2.7
|   |   |-- <SPI> 1.0
|-- <Wire> 1.0
|-- <ESP8266HTTPUpdateServer> 1.0
|   |-- <ESP8266WebServer> 1.0
|   |   |-- <ESP8266WiFi> 1.0
|   |   |-- <WiFi> 1.2.7
|   |   |   |-- <SPI> 1.0
|   |-- <WiFi> 1.2.7
|   |   |-- <SPI> 1.0
|-- <RTClib> 1.2.1
|   |-- <Wire> 1.0
|-- <SD(esp8266)> 1.0.5
|   |-- <SPI> 1.0
|-- <WiFi> 1.2.7
|   |-- <SPI> 1.0
|-- <ESP8266mDNS> 1.2
|   |-- <ESP8266WiFi> 1.0
|   |-- <WiFi> 1.2.7
|   |   |-- <SPI> 1.0
Compiling .pioenvs\esp12e\src\PowerMeterIoT.ino.cpp.o
Compiling .pioenvs\esp12e\src\server.cpp.o
Generating LD script .pioenvs\esp12e\ld\local.eagle.app.v6.common.ld
Compiling .pioenvs\esp12e\lib769\Time_ID44\DateStrings.cpp.o
Compiling .pioenvs\esp12e\lib769\Time_ID44\Time.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\BearSSLHelpers.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\CertStoreBearSSL.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFi.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFiAP.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFiGeneric.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFiMulti.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFiSTA-WPS.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFiSTA.cpp.o
In file included from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\tools\sdk\libc\xtensa-lx106-elf\include/string.h:163:0,
from C:\Users\ennio.DOMAIN\.platformio\lib\Time_ID44\DateStrings.cpp:22:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\tools\sdk\libc\xtensa-lx106-elf\include/sys/string.h:32:0: warning: "strcpy_P" redefined [enabled by default]
#define strcpy_P(dest, src)          strncpy_P((dest), (src), SIZE_IRRELEVANT)
^
C:\Users\ennio.DOMAIN\.platformio\lib\Time_ID44\DateStrings.cpp:20:0: note: this is the location of the previous definition
#define strcpy_P(dest, src) strcpy((dest), (src))
^
In file included from C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:25:0:
src\config.h:56:0: warning: "DEBUGV" redefined [enabled by default]
#define DEBUGV(...) os_printf(__VA_ARGS__)
^
In file included from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:266:0,
from c:\users\master~1.bsc\appdata\local\temp\tmpjuwrhc:1:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/debug.h:12:0: note: this is the location of the previous definition
#define DEBUGV(...)
^
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFiScan.cpp.o
In file included from src\server.cpp:9:0:
src\config.h:56:0: warning: "DEBUGV" redefined [enabled by default]
#define DEBUGV(...) os_printf(__VA_ARGS__)
^
In file included from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:266:0,
from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiClient.h:25,
from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39,
from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WebServer\src/ESP8266WebServer.h:29,
from src\server.cpp:1:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/debug.h:12:0: note: this is the location of the previous definition
#define DEBUGV(...)
^
In file included from C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:5:0:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\DNSServer\src/DNSServer.h:67:13: error: cannot declare field 'DNSServer::_udp' to be of abstract type 'WiFiUDP'
WiFiUDP _udp;
^
In file included from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\DNSServer\src/DNSServer.h:3:0,
from C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:5:
C:\Users\ennio.DOMAIN\.platformio\lib\WiFi_ID870\src/WiFiUdp.h:27:7: note:   because the following virtual functions are pure within 'WiFiUDP':
class WiFiUDP : public UDP {
^
In file included from C:\Users\ennio.DOMAIN\.platformio\lib\WiFi_ID870\src/WiFiUdp.h:23:0,
from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\DNSServer\src/DNSServer.h:3,
from C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:5:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Udp.h:82:27: note:  virtual IPAddress UDP::remoteIP() const
virtual IPAddress remoteIP() const =0;
^
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Udp.h:84:26: note:  virtual uint16_t UDP::remotePort() const
virtual uint16_t remotePort() const =0;
^
In file included from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40:0,
from C:\Users\ennio.DOMAIN\.platformio\lib\WifiManager_ID567/WiFiManager.h:16,
from C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:7:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiServer.h:37:34: error: expected class-name before '{' token
class WiFiServer : public Server {
^
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiServer.h:64:16: error: type 'Print' is not a base type for type 'WiFiServer'
using Print::write;
^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'void setup()':
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:111:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if (timeStatus() == timeNotSet) return;
^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:113:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:135:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
MonthDataRestore(1);                                                  // yesterday
^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'time_t getNtpTime()':
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:415:95: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=]
//uint32_t filesSize = listDirectory(SD.open("/"), false);                      // Print all file sistem objects
^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:415:95: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'char* dateTimeToChar(time_t)':
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:449:10: warning: address of local variable 'buffer' returned [-Wreturn-local-addr]
File entry =  dir.openNextFile();
^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'void sdCardCheck()':
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:775:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:783:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:791:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:799:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'uint32_t printTreeSD(File, int)':
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:909:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:925:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:945:26: warning: zero-length gnu_printf format string [-Wformat-zero-length]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:945:26: warning: zero-length gnu_printf format string [-Wformat-zero-length]
In file included from C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:25:0:
src\config.h: At global scope:
src\config.h:45:27: warning: 'http_username' defined but not used [-Wunused-variable]
static const char *       http_username     = "master";
^
src\config.h:46:27: warning: 'http_password' defined but not used [-Wunused-variable]
static const char *       http_password     = "askue";
^
In file included from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40:0,
from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WebServer\src/ESP8266WebServer.h:29,
from src\server.cpp:1:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiServer.h:37:34: error: expected class-name before '{' token
class WiFiServer : public Server {
^
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiServer.h:64:16: error: type 'Print' is not a base type for type 'WiFiServer'
using Print::write;
^
*** [.pioenvs\esp12e\src\PowerMeterIoT.ino.cpp.o] Error 1
In file included from src\server.cpp:9:0:
src\server.cpp: In function 'void serverApi()':
src\config.h:56:42: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
#define DEBUGV(...) os_printf(__VA_ARGS__)
^
src\server.cpp:74:9: note: in expansion of macro 'DEBUGV'
DEBUGV("requiest date from api: %02s-%02s-%04s\n", (char *)server.arg("dtDay").c_str(), (char *)server.arg("dtMonth").c_str(), (char *)server.arg("dtYear").c_str());
^
src\config.h:56:42: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
#define DEBUGV(...) os_printf(__VA_ARGS__)
^
src\server.cpp:74:9: note: in expansion of macro 'DEBUGV'
DEBUGV("requiest date from api: %02s-%02s-%04s\n", (char *)server.arg("dtDay").c_str(), (char *)server.arg("dtMonth").c_str(), (char *)server.arg("dtYear").c_str());
^
src\config.h:56:42: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
#define DEBUGV(...) os_printf(__VA_ARGS__)
^
src\server.cpp:74:9: note: in expansion of macro 'DEBUGV'
DEBUGV("requiest date from api: %02s-%02s-%04s\n", (char *)server.arg("dtDay").c_str(), (char *)server.arg("dtMonth").c_str(), (char *)server.arg("dtYear").c_str());
^
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
sprintf(buffer, "/%s/%04s%02s/%04s%02s%02s.csv", munutesFolder, server.arg("dtYear").c_str(), server.arg("dtMonth").c_str(), server.arg("dtYear").c_str(), server.arg("dtMonth").c_str(), server.arg("dtDay").c_str());
^
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
sprintf(buffer, "/%s/%04s/%04s%02s.csv", daysFolder, server.arg("dtYear").c_str(), server.arg("dtYear").c_str(), server.arg("dtMonth").c_str() );
^
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
In file included from src\server.cpp:9:0:
src\config.h: At global scope:
src\config.h:21:20: warning: 'tarifFile' defined but not used [-Wunused-variable]
static const char* tarifFile = "tariff.csv";
^
src\config.h:22:20: warning: 'readingFile' defined but not used [-Wunused-variable]
static const char* readingFile = "reading.csv";
^
*** [.pioenvs\esp12e\src\server.cpp.o] Error 1

I can build on Linux no problem

Processing esp12e (framework: arduino; platform: espressif8266; board: esp12e)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp12e.html
PLATFORM: Espressif 8266 > Espressif ESP8266 ESP-12E
HARDWARE: ESP8266 160MHz 80KB RAM (4MB Flash)
Converting PowerMeterIoT.ino
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Collected 29 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <RTClib> 1.2.1
|   |-- <Wire> 1.0
|-- <ESP8266WiFi> 1.0
|-- <WifiManager> 0.14
|   |-- <DNSServer> 1.1.1
|   |   |-- <ESP8266WiFi> 1.0
|   |-- <ESP8266WiFi> 1.0
|   |-- <ESP8266WebServer> 1.0
|   |   |-- <ESP8266WiFi> 1.0
|-- <ESP8266HTTPUpdateServer> 1.0
|   |-- <ESP8266WiFi> 1.0
|   |-- <ESP8266WebServer> 1.0
|   |   |-- <ESP8266WiFi> 1.0
|-- <Wire> 1.0
|-- <ESP8266WebServer> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
|   |-- <ESP8266WiFi> 1.0
|-- <DNSServer> 1.1.1
|   |-- <ESP8266WiFi> 1.0
|-- <Time> 1.5
|-- <SD(esp8266)> 1.0.5
|   |-- <SPI> 1.0
Compiling .pioenvs/esp12e/src/PowerMeterIoT.ino.cpp.o
Compiling .pioenvs/esp12e/lib652/ESP8266WiFi/ESP8266WiFiSTA-WPS.cpp.o
In file included from /home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:13:0:
src/config.h:56:0: warning: "DEBUGV" redefined [enabled by default]
#define DEBUGV(...) os_printf(__VA_ARGS__)
^
In file included from /home/ennio/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:266:0,
from /tmp/tmpEKdERj:1:
/home/ennio/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/debug.h:12:0: note: this is the location of the previous definition
#define DEBUGV(...)
^
Compiling .pioenvs/esp12e/lib652/ESP8266WiFi/ESP8266WiFiSTA.cpp.o
Compiling .pioenvs/esp12e/lib652/ESP8266WiFi/ESP8266WiFiScan.cpp.o
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'void setup()':
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:56:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
sntp_setservername(0,"ntp.mobatime.ru");
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:57:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
sntp_setservername(1,"46.254.241.74");
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:68:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
logEvent("SD card is OK\n");
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'time_t getNtpTime()':
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:208:95: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=]
sprintf(buffer, "sntp_get_current_timestamp(): %d\n", tm);
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:208:95: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=]
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'char* dateTimeToChar(time_t)':
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:225:10: warning: address of local variable 'buffer' returned [-Wreturn-local-addr]
char buffer[50];
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'void sdCardCheck()':
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:388:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
logEvent("Card type: SD1\n");
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:392:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
logEvent("Card type: SD2\n");
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:396:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
logEvent("Card type: SDHC\n");
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:400:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
logEvent("Card type: Unknown\n");
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'uint32_t printTreeSD(File, int)':
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:455:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
logEventNoTimeshtamp("\t\t\t\t");
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:463:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
logEventNoTimeshtamp("/\n");
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:473:26: warning: zero-length gnu_printf format string [-Wformat-zero-length]
sprintf(buffer,"");
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:473:26: warning: zero-length gnu_printf format string [-Wformat-zero-length]
Compiling .pioenvs/esp12e/lib652/ESP8266WiFi/WiFiClient.cpp.o
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:468:32: warning: 'filesSize' may be used uninitialized in this function [-Wmaybe-uninitialized]
filesSize += entry.size();
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'void irq_set()':
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:87:32: warning: array subscript is above array bounds [-Warray-bounds]
else if (millis() - irq_end[3] > 60000L)  irq = 3;                          // 1 мин
^
/home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:100:16: warning: array subscript is above array bounds [-Warray-bounds]
irq_end[3] = millis();
^
In file included from /home/ennio/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:13:0:
src/config.h: At global scope:
src/config.h:45:27: warning: 'http_username' defined but not used [-Wunused-variable]
static const char *       http_username     = "master";
^
src/config.h:46:27: warning: 'http_password' defined but not used [-Wunused-variable]
static const char *       http_password     = "askue";
^
Compiling .pioenvs/esp12e/lib652/ESP8266WiFi/WiFiClientSecureAxTLS.cpp.o
Compiling .pioenvs/esp12e/lib652/ESP8266WiFi/WiFiClientSecureBearSSL.cpp.o
Compiling .pioenvs/esp12e/lib652/ESP8266WiFi/WiFiServer.cpp.o
Compiling .pioenvs/esp12e/lib652/ESP8266WiFi/WiFiServerSecureAxTLS.cpp.o
Compiling .pioenvs/esp12e/lib652/ESP8266WiFi/WiFiServerSecureBearSSL.cpp.o
Compiling .pioenvs/esp12e/lib652/ESP8266WiFi/WiFiUdp.cpp.o
Compiling .pioenvs/esp12e/lib042/DNSServer/DNSServer.cpp.o
Compiling .pioenvs/esp12e/lib4ca/ESP8266WebServer/ESP8266WebServer.cpp.o
Compiling .pioenvs/esp12e/lib4ca/ESP8266WebServer/ESP8266WebServerSecureAxTLS.cpp.o
Archiving .pioenvs/esp12e/lib042/libDNSServer.a
Indexing .pioenvs/esp12e/lib042/libDNSServer.a
Compiling .pioenvs/esp12e/lib4ca/ESP8266WebServer/ESP8266WebServerSecureBearSSL.cpp.o
Archiving .pioenvs/esp12e/lib652/libESP8266WiFi.a
Indexing .pioenvs/esp12e/lib652/libESP8266WiFi.a
Compiling .pioenvs/esp12e/lib4ca/ESP8266WebServer/Parsing.cpp.o
Compiling .pioenvs/esp12e/lib4ca/ESP8266WebServer/detail/mimetable.cpp.o
Compiling .pioenvs/esp12e/lib999/WifiManager_ID567/WiFiManager.cpp.o
Compiling .pioenvs/esp12e/libf53/ESP8266HTTPUpdateServer/ESP8266HTTPUpdateServer.cpp.o
Compiling .pioenvs/esp12e/lib9e5/ESP8266mDNS/ESP8266mDNS.cpp.o
Archiving .pioenvs/esp12e/lib4ca/libESP8266WebServer.a
Indexing .pioenvs/esp12e/lib4ca/libESP8266WebServer.a
Compiling .pioenvs/esp12e/lib9e5/ESP8266mDNS/ESP8266mDNS_Legacy.cpp.o
Archiving .pioenvs/esp12e/libf53/libESP8266HTTPUpdateServer.a
Indexing .pioenvs/esp12e/libf53/libESP8266HTTPUpdateServer.a
Compiling .pioenvs/esp12e/lib9e5/ESP8266mDNS/LEAmDNS.cpp.o
Archiving .pioenvs/esp12e/lib999/libWifiManager_ID567.a
Indexing .pioenvs/esp12e/lib999/libWifiManager_ID567.a
Compiling .pioenvs/esp12e/lib9e5/ESP8266mDNS/LEAmDNS_Control.cpp.o
Compiling .pioenvs/esp12e/lib9e5/ESP8266mDNS/LEAmDNS_Helpers.cpp.o
Compiling .pioenvs/esp12e/lib9e5/ESP8266mDNS/LEAmDNS_Structs.cpp.o
Compiling .pioenvs/esp12e/lib9e5/ESP8266mDNS/LEAmDNS_Transfer.cpp.o
Compiling .pioenvs/esp12e/libd29/Time_ID44/DateStrings.cpp.o
In file included from /home/ennio/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/string.h:163:0,
from /home/ennio/.platformio/lib/Time_ID44/DateStrings.cpp:22:
/home/ennio/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/sys/string.h:32:0: warning: "strcpy_P" redefined [enabled by default]
#define strcpy_P(dest, src)          strncpy_P((dest), (src), SIZE_IRRELEVANT)
^
/home/ennio/.platformio/lib/Time_ID44/DateStrings.cpp:20:0: note: this is the location of the previous definition
#define strcpy_P(dest, src) strcpy((dest), (src))
^
Compiling .pioenvs/esp12e/libd29/Time_ID44/Time.cpp.o
Compiling .pioenvs/esp12e/libae5/SPI/SPI.cpp.o
Compiling .pioenvs/esp12e/lib813/SD/File.cpp.o
Archiving .pioenvs/esp12e/libd29/libTime_ID44.a
Indexing .pioenvs/esp12e/libd29/libTime_ID44.a
Compiling .pioenvs/esp12e/lib813/SD/SD.cpp.o
Archiving .pioenvs/esp12e/libae5/libSPI.a
Indexing .pioenvs/esp12e/libae5/libSPI.a
Compiling .pioenvs/esp12e/lib813/SD/utility/Sd2Card.cpp.o
Archiving .pioenvs/esp12e/lib9e5/libESP8266mDNS.a
Indexing .pioenvs/esp12e/lib9e5/libESP8266mDNS.a
Compiling .pioenvs/esp12e/lib813/SD/utility/SdFile.cpp.o
Compiling .pioenvs/esp12e/lib813/SD/utility/SdVolume.cpp.o
Archiving .pioenvs/esp12e/libFrameworkArduinoVariant.a
Indexing .pioenvs/esp12e/libFrameworkArduinoVariant.a
Compiling .pioenvs/esp12e/FrameworkArduino/Esp-frag.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/Esp-version.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/Esp.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/FS.cpp.o
Archiving .pioenvs/esp12e/lib813/libSD.a
Indexing .pioenvs/esp12e/lib813/libSD.a
Compiling .pioenvs/esp12e/FrameworkArduino/FunctionalInterrupt.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/HardwareSerial.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/IPAddress.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/MD5Builder.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/Print.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/Schedule.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/ScheduledFunctions.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/StackThunk.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/Stream.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/StreamString.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/Tone.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/Updater.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/WMath.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/WString.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/abi.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/base64.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/cbuf.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/cont.S.o
Compiling .pioenvs/esp12e/FrameworkArduino/cont_util.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_app_entry_noextra4k.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_eboot_command.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_flash_utils.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_i2s.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_main.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_noniso.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_phy.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_postmortem.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_si2c.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_sigma_delta.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_timer.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_waveform.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_wiring.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_wiring_analog.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_wiring_digital.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_wiring_pulse.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_wiring_pwm.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/core_esp8266_wiring_shift.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/debug.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/gdb_hooks.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/heap.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/libb64/cdecode.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/libb64/cencode.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/libc_replacements.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/sntp-lwip2.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/spiffs/spiffs_cache.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/spiffs/spiffs_check.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/spiffs/spiffs_gc.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/spiffs/spiffs_hydrogen.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/spiffs/spiffs_nucleus.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/spiffs_api.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/spiffs_hal.cpp.o
Compiling .pioenvs/esp12e/FrameworkArduino/sqrt32.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/time.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/uart.c.o
Compiling .pioenvs/esp12e/FrameworkArduino/umm_malloc/umm_malloc.c.o
Archiving .pioenvs/esp12e/libFrameworkArduino.a
Indexing .pioenvs/esp12e/libFrameworkArduino.a
Linking .pioenvs/esp12e/firmware.elf
Building .pioenvs/esp12e/firmware.bin
Retrieving maximum program size .pioenvs/esp12e/firmware.elf
Checking size .pioenvs/esp12e/firmware.elf
Memory Usage -> http://bit.ly/pio-memory-usage
DATA:    [=====     ]  45.4% (used 37192 bytes from 81920 bytes)
PROGRAM: [====      ]  35.5% (used 370840 bytes from 1044464 bytes)

Platformio Home 2.0.0 Core 3.6.6
Why?


#2

The only difference I see from the working to the non-working build is that the non-working build includes the library |-- <WiFi> 1.2.7. Try adding lib_ignore = WiFi to the platformio.ini to prevent this.


#3

I added lib_ignore = WiFi to the platformio.ini

[env:esp12e]
platform = espressif8266
;lib_extra_dirs = ~/Documents/Arduino/libraries
;platform = https://github.com/platformio/platform-espressif8266.git
board = esp12e
framework = arduino
upload_speed = 115200
monitor_speed = 115200
; set frequency to 160MHz
board_build.f_cpu = 160000000L
board_build.f_flash = 80000000L
board_build.flash_mode = qio
upload_resetmethod = ck
build_flags = -D CONT_STACKSIZE=8192
build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
build_flags = -Wl,-Teagle.flash.4m.ld
;lib_archive = false
lib_ignore = WiFi

Too not work

Processing esp12e (framework: arduino; platform: espressif8266; board: esp12e)
--------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp12e.html
PLATFORM: Espressif 8266 > Espressif ESP8266 ESP-12E
HARDWARE: ESP8266 160MHz 80KB RAM (4MB Flash)
Converting PowerMeterIoT.ino
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Collected 29 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <Wire> 1.0
|-- <Time> 1.5
|-- <DNSServer> 1.1.1
|   |-- <ESP8266WiFi> 1.0
|-- <WifiManager> 0.14
|   |-- <DNSServer> 1.1.1
|   |   |-- <ESP8266WiFi> 1.0
|   |-- <ESP8266WebServer> 1.0
|   |   |-- <ESP8266WiFi> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <ESP8266WebServer> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <SD(esp8266)> 1.0.5
|   |-- <SPI> 1.0
|-- <ESP8266HTTPUpdateServer> 1.0
|   |-- <ESP8266WebServer> 1.0
|   |   |-- <ESP8266WiFi> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <RTClib> 1.2.1
|   |-- <Wire> 1.0
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
|   |-- <ESP8266WiFi> 1.0
Compiling .pioenvs\esp12e\src\PowerMeterIoT.ino.cpp.o
Compiling .pioenvs\esp12e\src\server.cpp.o
Generating LD script .pioenvs\esp12e\ld\local.eagle.app.v6.common.ld
Compiling .pioenvs\esp12e\lib609\Wire\Wire.cpp.o
Compiling .pioenvs\esp12e\lib769\Time_ID44\DateStrings.cpp.o
Compiling .pioenvs\esp12e\lib769\Time_ID44\Time.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\BearSSLHelpers.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\CertStoreBearSSL.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFi.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFiAP.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFiGeneric.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFiMulti.cpp.o
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFiSTA-WPS.cpp.o
In file included from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\tools\sdk\libc\xtensa-lx106-elf\include/string.h:163:0,
from C:\Users\ennio.DOMAIN\.platformio\lib\Time_ID44\DateStrings.cpp:22:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\tools\sdk\libc\xtensa-lx106-elf\include/sys/string.h:32:0: warning: "strcpy_P" redefined [enabled by default]
#define strcpy_P(dest, src)          strncpy_P((dest), (src), SIZE_IRRELEVANT)
^
C:\Users\ennio.DOMAIN\.platformio\lib\Time_ID44\DateStrings.cpp:20:0: note: this is the location of the previous definition
#define strcpy_P(dest, src) strcpy((dest), (src))
^
In file included from C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:25:0:
src\config.h:54:0: warning: "DEBUGV" redefined [enabled by default]
#define DEBUGV(...) os_printf(__VA_ARGS__)
^
In file included from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:266:0,
from c:\users\master~1.bsc\appdata\local\temp\tmpe0pcs7:1:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/debug.h:12:0: note: this is the location of the previous definition
#define DEBUGV(...)
^
In file included from src\server.cpp:9:0:
src\config.h:54:0: warning: "DEBUGV" redefined [enabled by default]
#define DEBUGV(...) os_printf(__VA_ARGS__)
^
In file included from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:266:0,
from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiClient.h:25,
from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39,
from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WebServer\src/ESP8266WebServer.h:29,
from src\server.cpp:1:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/debug.h:12:0: note: this is the location of the previous definition
#define DEBUGV(...)
^
Compiling .pioenvs\esp12e\libcb3\ESP8266WiFi\ESP8266WiFiSTA.cpp.o
In file included from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40:0,
from C:\Users\ennio.DOMAIN\.platformio\lib\WifiManager_ID567/WiFiManager.h:16,
from C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:7:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiServer.h:37:34: error: expected class-name before '{' token
class WiFiServer : public Server {
^
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiServer.h:64:16: error: type 'Print' is not a base type for type 'WiFiServer'
using Print::write;
^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'void setup()':
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:111:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if (timeStatus() == timeNotSet) return;
^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:113:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:135:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
MonthDataRestore(1);                                                // yesterday
^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'time_t getNtpTime()':
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:415:95: warning: format
'%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=]
//printDirectory(SD.open("/"), false);                                      // Print all file sistem objects
^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:415:95: warning: format
'%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'char* dateTimeToChar(time_t)':
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:449:10: warning: address of local variable 'buffer' returned [-Wreturn-local-addr]

^
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'void sdCardCheck()':
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:779:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:787:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:795:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:803:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino: In function 'uint32_t printTreeSD(File, int)':
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:911:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:923:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:939:26: warning: zero-length gnu_printf format string [-Wformat-zero-length]
C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:939:26: warning: zero-length gnu_printf format string [-Wformat-zero-length]
In file included from C:/Users/ennio.DOMAIN/Dropbox/MyProject/190401-100048-esp12e/src/PowerMeterIoT.ino:25:0:
src\config.h: At global scope:
src\config.h:43:27: warning: 'http_username' defined but not used [-Wunused-variable]
static const char *       http_username     = "master";
^
src\config.h:44:27: warning: 'http_password' defined but not used [-Wunused-variable]
static const char *       http_password     = "askue";
^
In file included from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40:0,
from C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WebServer\src/ESP8266WebServer.h:29,
from src\server.cpp:1:
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiServer.h:37:34: error: expected class-name before '{' token
class WiFiServer : public Server {
^
C:\Users\ennio.DOMAIN\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiServer.h:64:16: error: type 'Print' is not a base type for type 'WiFiServer'
using Print::write;
^
*** [.pioenvs\esp12e\src\PowerMeterIoT.ino.cpp.o] Error 1
In file included from src\server.cpp:9:0:
src\server.cpp: In function 'void serverApi()':
src\config.h:54:42: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
#define DEBUGV(...) os_printf(__VA_ARGS__)
^
src\server.cpp:74:9: note: in expansion of macro 'DEBUGV'
DEBUGV("requiest date from api: %02s-%02s-%04s\n", (char *)server.arg("dtDay").c_str(), (char *)server.arg("dtMonth").c_str(), (char *)server.arg("dtYear").c_str());
^
src\config.h:54:42: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
#define DEBUGV(...) os_printf(__VA_ARGS__)
^
src\server.cpp:74:9: note: in expansion of macro 'DEBUGV'
DEBUGV("requiest date from api: %02s-%02s-%04s\n", (char *)server.arg("dtDay").c_str(), (char *)server.arg("dtMonth").c_str(), (char *)server.arg("dtYear").c_str());
^
src\config.h:54:42: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
#define DEBUGV(...) os_printf(__VA_ARGS__)
^
src\server.cpp:74:9: note: in expansion of macro 'DEBUGV'
DEBUGV("requiest date from api: %02s-%02s-%04s\n", (char *)server.arg("dtDay").c_str(), (char *)server.arg("dtMonth").c_str(), (char *)server.arg("dtYear").c_str());
^
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
sprintf(buffer, "/%s/%04s%02s/%04s%02s%02s.csv", munutesFolder, server.arg("dtYear").c_str(), server.arg("dtMonth").c_str(), server.arg("dtYear").c_str(), server.arg("dtMonth").c_str(), server.arg("dtDay").c_str());
^
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:75:222: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
sprintf(buffer, "/%s/%04s/%04s%02s.csv", daysFolder, server.arg("dtYear").c_str(), server.arg("dtYear").c_str(), server.arg("dtMonth").c_str() );
^
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
src\server.cpp:81:152: warning: '0' flag used with '%s' gnu_printf format [-Wformat=]
In file included from src\server.cpp:9:0:
src\config.h: At global scope:
src\config.h:21:20: warning: 'tarifFile' defined but not used [-Wunused-variable]
static const char* tarifFile = "tariff.csv";
^
src\config.h:22:20: warning: 'readingFile' defined but not used [-Wunused-variable]
static const char* readingFile = "reading.csv";
^
*** [.pioenvs\esp12e\src\server.cpp.o] Error 1

Dependency graf different.