Using Arduino IDE, if I update to "esp8266 by ESP8266 Community" Version 2.6.1, or 2.6.0, I cannot upload several WebSocketsServer examples (like websockets ->esp8266 -> WebSocketServer_LEDcontrol.ino ) or any of my previously working files that #include WebSocketsServer.h
It says I have multiple libraries, then it does not list any that are not used nor are there any that I am aware of in my library unless it is embedded somewhere I can't find. I have done a complete re-install of Arduino IDE, deleting the AppData...... Arduino15 folder as well as all libraries.
Version 2.5.2 works fine and I can upload the examples normally and my files and my devices work fine. I will continue to use that version but find this strange and came here to see if I could get some insight to a possible solution.
I hope its ok I (am attempting) put the errors in version 2.6.1 in a code wrap. I haven't logged in here in a while.
The errors are:
In file included from C:\Users\cax\Documents\Arduino\libraries\arduinoWebSockets\src\libb64\cencode.c:9:0:
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h:88:1: error: unknown type name 'uint32_t'
inline uint32_t esp_get_cycle_count() __attribute__((always_inline));
^
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h:89:1: error: unknown type name 'uint32_t'
inline uint32_t esp_get_cycle_count() {
^
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h: In function 'esp_get_cycle_count':
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h:90:3: error: unknown type name 'uint32_t'
uint32_t ccount;
^
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h: At top level:
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h:112:24: error: unknown type name 'uint32_t'
void precache(void *f, uint32_t bytes);
^
In file included from C:\Users\cax\Documents\Arduino\libraries\arduinoWebSockets\src\libb64\cdecode.c:9:0:
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h:88:1: error: unknown type name 'uint32_t'
inline uint32_t esp_get_cycle_count() __attribute__((always_inline));
^
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h:89:1: error: unknown type name 'uint32_t'
inline uint32_t esp_get_cycle_count() {
^
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h: In function 'esp_get_cycle_count':
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h:90:3: error: unknown type name 'uint32_t'
uint32_t ccount;
^
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h: At top level:
C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/core_esp8266_features.h:112:24: error: unknown type name 'uint32_t'
void precache(void *f, uint32_t bytes);
^
Multiple libraries were found for "ESP8266WiFi.h"
Used: C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\libraries\ESP8266WiFi
Multiple libraries were found for "WebSocketsServer.h"
Used: C:\Users\cax\Documents\Arduino\libraries\arduinoWebSockets
Multiple libraries were found for "Hash.h"
Used: C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\libraries\Hash
Multiple libraries were found for "ESP8266WebServer.h"
Used: C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\libraries\ESP8266WebServer
Multiple libraries were found for "ESP8266mDNS.h"
Used: C:\Users\cax\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\libraries\ESP8266mDNS
exit status 1
Error compiling for board LOLIN(WEMOS) D1 R2 & mini.