platformio / platform-espressif8266

Espressif 8266: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif8266
Apache License 2.0
333 stars 219 forks source link

Cannot compile staging at all #120

Closed tablatronix closed 5 years ago

tablatronix commented 5 years ago

I can no longer compile w staging, get crazy errors, stable compiles fine.

Any ideas what the deal is?

[ Deviot 2.3.0.dev8 ] Starting...
Processing nodemcuv2 (platform: https://github.com/platformio/platform-espressif8266.git#feature/stage; lib_extra_dirs: /Users/shawn/projects/microcontrollers/dev/libraries; board: nodemcuv2; framework: arduino)
--------------------------------------------------------------------------------
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (Stage) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz 80KB RAM (4MB Flash)
xtensa-lx106-elf-g++ -o "/Users/shawn/projects/microcontrollers/dev/libraries/WiFiManager/examples/Basic/Basic.ino.cpp" -x c++ -fpreprocessed -dD -E "/var/folders/0_/8qr6jgcx3qsgjcrpsgz2c9w00000gn/T/tmpsPadil"
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Framework incompatible library /Users/shawn/.platformio/lib/Blynk_ID2196
Framework incompatible library /Users/shawn/.platformio/lib/LM75B_ID211
Framework incompatible library /Users/shawn/.platformio/lib/LM75B_ID212
Framework incompatible library /Users/shawn/.platformio/lib/MAX7219_ID2486
Framework incompatible library /Users/shawn/.platformio/lib/MFRC522_ID2523
Framework incompatible library /Users/shawn/.platformio/lib/PwmSound_ID4469
More details about "Library Compatibility Mode": https://docs.platformio.org/page/librarymanager/ldf.html#ldf-compat-mode
Collected 108 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <WifiManager> 1.0.0 (/Users/shawn/projects/microcontrollers/dev/libraries/WiFiManager)
|   |-- <ESP8266mDNS> (/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266mDNS)
|   |   |-- <ESP8266WiFi> 1.0 (/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi)
|   |-- <ESP8266WebServer> 1.0 (/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WebServer)
|   |   |-- <ESP8266WiFi> 1.0 (/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi)
|   |-- <ESP8266WiFi> 1.0 (/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi)
|   |-- <DNSServer> 1.1.0 (/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/DNSServer)
|   |   |-- <ESP8266WiFi> 1.0 (/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi)
xtensa-lx106-elf-g++ -o .pioenvs/nodemcuv2/src/Basic.ino.cpp.o -c -DARDUINO=10600 -DLWIP_OPEN_SRC -DPLATFORMIO=30604 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_NODEMCU -I/Users/shawn/projects/microcontrollers/dev/libraries/WiFiManager -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/DNSServer/src -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WebServer/src -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266mDNS -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src -I/Users/shawn/projects/microcontrollers/dev/libraries/WiFiManager/examples/Basic -Iinclude -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/lwip/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/libc/xtensa-lx106-elf/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/cores/esp8266 -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/variants/nodemcu /Users/shawn/projects/microcontrollers/dev/libraries/WiFiManager/examples/Basic/Basic.ino.cpp
xtensa-lx106-elf-g++ -o .pioenvs/nodemcuv2/libf95/ESP8266WiFi/ESP8266WiFi.cpp.o -c -DARDUINO=10600 -DLWIP_OPEN_SRC -DPLATFORMIO=30604 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_NODEMCU -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/lwip/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/libc/xtensa-lx106-elf/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/cores/esp8266 -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/variants/nodemcu /Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src/ESP8266WiFi.cpp
xtensa-lx106-elf-g++ -o .pioenvs/nodemcuv2/libf95/ESP8266WiFi/ESP8266WiFiAP.cpp.o -c -DARDUINO=10600 -DLWIP_OPEN_SRC -DPLATFORMIO=30604 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_NODEMCU -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/lwip/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/libc/xtensa-lx106-elf/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/cores/esp8266 -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/variants/nodemcu /Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src/ESP8266WiFiAP.cpp
xtensa-lx106-elf-g++ -o .pioenvs/nodemcuv2/libf95/ESP8266WiFi/ESP8266WiFiGeneric.cpp.o -c -DARDUINO=10600 -DLWIP_OPEN_SRC -DPLATFORMIO=30604 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_NODEMCU -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/lwip/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/tools/sdk/libc/xtensa-lx106-elf/include -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/cores/esp8266 -I/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/variants/nodemcu /Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.cpp
In file included from /Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/cores/esp8266/WString.h:29:0,
from /Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/cores/esp8266/IPAddress.h:24,
from /Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src/ESP8266WiFi.h:31,
from /Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src/ESP8266WiFi.cpp:25:
/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/cores/esp8266/pgmspace.h:79:59: error: 'va_list' has not been declared
int vsnprintf_P(char *str, size_t strSize, PGM_P formatP, va_list ap) __attribute__((format(printf, 3, 0)));
^
In file included from /Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src/ESP8266WiFi.h:33:0,
from /Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src/ESP8266WiFi.cpp:25:
/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src/ESP8266WiFiType.h:108:5: error: 'uint8' does not name a type
uint8 bssid[6];
^
/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src/ESP8266WiFiType.h:109:5: error: 'uint8' does not name a type
uint8 channel;
^
/Users/shawn/.platformio/packages/framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910/libraries/ESP8266WiFi/src/ESP8266WiFiType.h:115:5: error: 'uint8' does not name a type
uint8 bssid[6];
^
tablatronix commented 5 years ago

I had to delete package and let it reinstall. Seems to be working again, no idea what happened.