Esp8266Gateway compiling problem
-
Hi,
I am realy new with Mysensors, I have all the components to make a set of sensors and a gateway.
But, making that gateway I get stuck while compiling.
The error I get is the following:
Arduino: 1.8.5 (Windows 7), Board:"Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"
*In file included from D:\Users\xxxxx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39:0,
from D:\nw\GatewayESP8266\GatewayESP8266.ino:132:
D:\Users\xxxxx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h: In instantiation of 'size_t WiFiClient::write(T&, size_t) [with T = char*; size_t = unsigned int]':
C:\Program Files (x86)\Arduino\libraries\MySensors-master/core/MyGatewayTransportEthernet.cpp:207:58: required from here
D:\Users\xxxxx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h:123:36: error: request for member 'available' in 'source', which is of non-class type 'char*'
size_t left = source.available(); ^
D:\Users\xxxxx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h:127:5: error: request for member 'read' in 'source', which is of non-class type 'char*'
source.read(buffer.get(), will_send); ^
exit status 1
Fout bij het compileren voor board Generic ESP8266 Module*Who has any idea how to solve this?
Thanks in advance
-
@fiets welcome to the MySensors community!
This sounds like the same problem as in https://github.com/mysensors/MySensors/issues/781
A fix exists, but is only available in the development version of MySensors. If you're comfortable using the development version, switch to that version and you should be fine. Otherwise you'll have to wait for the next release.
-
ok, thanks...
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58